From fd69604bd9dc743494a7818f25f384cc7f521b33 Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Sun, 13 Aug 2017 16:21:45 +0200 Subject: Adds editor_hint to Engine class --- editor/editor_node.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editor/editor_node.cpp') diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 730ba3cac..0e3c62ade 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); -- cgit v1.2.3-70-g09d2