parent
65446a1303
commit
5377f062d4
@ -815,6 +815,13 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
|||||||
I = N;
|
I = N;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef TOOLS_ENABLED
|
||||||
|
if (editor && project_manager) {
|
||||||
|
OS::get_singleton()->print("Error: Command line arguments implied opening both editor and project manager, which is not possible. Aborting.\n");
|
||||||
|
goto error;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// Network file system needs to be configured before globals, since globals are based on the
|
// Network file system needs to be configured before globals, since globals are based on the
|
||||||
// 'project.godot' file which will only be available through the network if this is enabled
|
// 'project.godot' file which will only be available through the network if this is enabled
|
||||||
FileAccessNetwork::configure();
|
FileAccessNetwork::configure();
|
||||||
@ -930,7 +937,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!project_manager) {
|
if (!project_manager && !editor) {
|
||||||
// Determine if the project manager should be requested
|
// Determine if the project manager should be requested
|
||||||
project_manager = main_args.size() == 0 && !found_project;
|
project_manager = main_args.size() == 0 && !found_project;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user