mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01: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):
|
||||
src_code.string = src_code[type]
|
||||
else:
|
||||
src_code.string = "*error*"
|
||||
src_code.string = "*error missing "+type+"*\n"+JSON.print(src_code)
|
||||
# Add global definitions
|
||||
if src_code.has("globals"):
|
||||
for d in src_code.globals:
|
||||
|
@ -221,6 +221,10 @@ toggle_fullscreen={
|
||||
|
||||
file_logging/log_path=""
|
||||
|
||||
[memory]
|
||||
|
||||
limits/message_queue/max_size_kb=16384
|
||||
|
||||
[rendering]
|
||||
|
||||
environment/default_environment="res://default_env.tres"
|
||||
|
Loading…
Reference in New Issue
Block a user