diff options
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_node.cpp | 2 | ||||
-rw-r--r-- | editor/project_manager.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 730ba3cacc..0e3c62ade4 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -277,6 +277,8 @@ void EditorNode::_notification(int p_what) { } if (p_what == NOTIFICATION_ENTER_TREE) { + Engine::get_singleton()->set_editor_hint(true); + get_tree()->get_root()->set_disable_3d(true); //MessageQueue::get_singleton()->push_call(this,"_get_scene_metadata"); get_tree()->set_editor_hint(true); diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index b77544befa..8970d956ff 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -465,6 +465,7 @@ void ProjectManager::_notification(int p_what) { if (p_what == NOTIFICATION_ENTER_TREE) { + Engine::get_singleton()->set_editor_hint(true); get_tree()->set_editor_hint(true); } else if (p_what == NOTIFICATION_VISIBILITY_CHANGED) { @@ -966,7 +967,6 @@ void ProjectManager::_run_project_confirm() { return; } - const String &selected = E->key(); String path = EditorSettings::get_singleton()->get("projects/" + selected); |