summaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-05-28 14:59:00 +0200
committerRémi Verschelde <rverschelde@gmail.com>2016-05-28 14:59:00 +0200
commit6fefcfd46a7b37d06311819d390bbc87ecb044a7 (patch)
treeddcc07357b579c157bc8c614c05b23f3a13efce3 /tools/editor
parentb2013603b4b5d5a3de38672c3f3ac503f579e4c3 (diff)
Editor: Fix base dir when going back to project manager
This caused the PM to load with the parameters of the previously loaded project. Was a regression from ea751724a21e3513ff2291aa24491e9d91c8c0f0. Closes #4045.
Diffstat (limited to 'tools/editor')
-rw-r--r--tools/editor/editor_node.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp
index af27f7d4a7..fedf738af4 100644
--- a/tools/editor/editor_node.cpp
+++ b/tools/editor/editor_node.cpp
@@ -2732,8 +2732,8 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) {
String exec = OS::get_singleton()->get_executable_path();
List<String> args;
- //args.push_back ( "-path" );
- //args.push_back (exec.get_base_dir() );
+ args.push_back("-path");
+ args.push_back(exec.get_base_dir());
args.push_back("-pm");
OS::ProcessID pid=0;