summaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2015-11-24 09:35:28 +0100
committerRémi Verschelde <remi@verschelde.fr>2015-11-24 09:35:28 +0100
commit96115ac9750979f47b9006612c0e88809dc7a913 (patch)
treea9f8baa7fd10320366ed5a5b00332f8763cbb5bc /tools/editor
parent14145d516e2e2f6f7221c691bfdedcc34b71f28e (diff)
parentf99b630993166725e91ccf2868cc4cefe2008286 (diff)
Merge pull request #2872 from akien-mga/pr-load-main-scene
Load main scene if defined when running editor from the command line
Diffstat (limited to 'tools/editor')
-rw-r--r--tools/editor/project_manager.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/editor/project_manager.cpp b/tools/editor/project_manager.cpp
index 893df04709..04705017d2 100644
--- a/tools/editor/project_manager.cpp
+++ b/tools/editor/project_manager.cpp
@@ -624,11 +624,6 @@ void ProjectManager::_open_project_confirm() {
args.push_back("-editor");
- const String &selected_main = E->get();
- if (selected_main!="") {
- args.push_back(selected_main);
- }
-
String exec = OS::get_singleton()->get_executable_path();
OS::ProcessID pid=0;