|
@@ -792,10 +792,6 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
|
// 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;
|
|
}
|
|
}
|
|
-
|
|
|
|
- if (project_manager) {
|
|
|
|
- Engine::get_singleton()->set_editor_hint(true);
|
|
|
|
- }
|
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
if (main_args.size() == 0 && String(GLOBAL_DEF("application/run/main_scene", "")) == "") {
|
|
if (main_args.size() == 0 && String(GLOBAL_DEF("application/run/main_scene", "")) == "") {
|
|
@@ -1697,6 +1693,7 @@ bool Main::start() {
|
|
#ifdef TOOLS_ENABLED
|
|
#ifdef TOOLS_ENABLED
|
|
if (project_manager || (script == "" && test == "" && game_path == "" && !editor)) {
|
|
if (project_manager || (script == "" && test == "" && game_path == "" && !editor)) {
|
|
|
|
|
|
|
|
+ Engine::get_singleton()->set_editor_hint(true);
|
|
ProjectManager *pmanager = memnew(ProjectManager);
|
|
ProjectManager *pmanager = memnew(ProjectManager);
|
|
ProgressDialog *progress_dialog = memnew(ProgressDialog);
|
|
ProgressDialog *progress_dialog = memnew(ProgressDialog);
|
|
pmanager->add_child(progress_dialog);
|
|
pmanager->add_child(progress_dialog);
|