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:
RodZill4 2020-01-31 07:50:54 +01:00
parent 02623aa1f9
commit 0c5ce185fe
2 changed files with 5 additions and 1 deletions

View File

@ -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:

View File

@ -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"