mirror of
https://github.com/Relintai/material-maker.git
synced 2025-04-01 05:55:37 +02:00
Added a better error message when generation fails. increased message queue size (to avoid freeze when opening many .ptex files at the same time)
This commit is contained in:
parent
02623aa1f9
commit
0c5ce185fe
@ -126,7 +126,7 @@ func replace_input(string : String, context, input : String, type : String, src
|
|||||||
if src_code.has(type):
|
if src_code.has(type):
|
||||||
src_code.string = src_code[type]
|
src_code.string = src_code[type]
|
||||||
else:
|
else:
|
||||||
src_code.string = "*error*"
|
src_code.string = "*error missing "+type+"*\n"+JSON.print(src_code)
|
||||||
# Add global definitions
|
# Add global definitions
|
||||||
if src_code.has("globals"):
|
if src_code.has("globals"):
|
||||||
for d in src_code.globals:
|
for d in src_code.globals:
|
||||||
|
@ -221,6 +221,10 @@ toggle_fullscreen={
|
|||||||
|
|
||||||
file_logging/log_path=""
|
file_logging/log_path=""
|
||||||
|
|
||||||
|
[memory]
|
||||||
|
|
||||||
|
limits/message_queue/max_size_kb=16384
|
||||||
|
|
||||||
[rendering]
|
[rendering]
|
||||||
|
|
||||||
environment/default_environment="res://default_env.tres"
|
environment/default_environment="res://default_env.tres"
|
||||||
|
Loading…
Reference in New Issue
Block a user