You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix Editor crash during first scan in headless import mode.
This commit is contained in:
@@ -1653,6 +1653,9 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
||||
upwards = true;
|
||||
} else if (arg == "--quit") { // Auto quit at the end of the first main loop iteration
|
||||
quit_after = 1;
|
||||
#ifdef TOOLS_ENABLED
|
||||
wait_for_import = true;
|
||||
#endif
|
||||
} else if (arg == "--quit-after") { // Quit after the given number of iterations
|
||||
if (N) {
|
||||
quit_after = N->get().to_int();
|
||||
|
||||
Reference in New Issue
Block a user