We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a6d63a commit a5f6eecCopy full SHA for a5f6eec
1 file changed
scripts/file_io.gd
@@ -277,7 +277,7 @@ func _on_process_finished(exit_code: int, output: Array):
277
print("exit code: ", exit_code)
278
if output.size() > 0:
279
print("Output:\n", output[0])
280
- if FileAccess.file_exists("Archicrop.obj"): # Display result in seperate window
+ if exit_code==0 and FileAccess.file_exists("Archicrop.obj"): # Display result in seperate window
281
var load_thread = Thread.new()
282
var thread_callable = _load_window_background.bind()
283
load_thread.start(thread_callable)
0 commit comments