diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-11-18 21:57:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-18 21:57:42 +0100 |
commit | 818434fbcb50710f3ade75fb910418ce722c87d4 (patch) | |
tree | 3b7aad5a3e1a45bdf07a6e29a71b15ba0051ab3e | |
parent | 8028663a4b1cc67e9eed31957af0d9c9a8636e72 (diff) | |
parent | b20c20a6f7dbd49dccb7b13123f1914739cd42f6 (diff) |
Merge pull request #43654 from qarmin/multiple_projects
Allow to open multiple projects when some are not imported or without main scene.
-rw-r--r-- | editor/project_manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index 167cd3ac35..f26d44d75a 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -2105,7 +2105,7 @@ void ProjectManager::_run_project_confirm() { if (selected_main == "") { run_error_diag->set_text(TTR("Can't run project: no main scene defined.\nPlease edit the project and set the main scene in the Project Settings under the \"Application\" category.")); run_error_diag->popup_centered(); - return; + continue; } const String &selected = selected_list[i].project_key; @@ -2115,7 +2115,7 @@ void ProjectManager::_run_project_confirm() { if (!DirAccess::exists(path.plus_file(ProjectSettings::IMPORTED_FILES_PATH.right(6)))) { run_error_diag->set_text(TTR("Can't run project: Assets need to be imported.\nPlease edit the project to trigger the initial import.")); run_error_diag->popup_centered(); - return; + continue; } print_line("Running project: " + path + " (" + selected + ")"); |