diff options
| author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2017-08-13 16:21:45 +0200 |
|---|---|---|
| committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2017-08-19 01:03:12 +0200 |
| commit | fd69604bd9dc743494a7818f25f384cc7f521b33 (patch) | |
| tree | 1235c83520faa5b29eba8484b941580f35a03cb5 /editor/editor_node.cpp | |
| parent | ff2cb35b90f5661d1bb5fb00fa657a9539449be0 (diff) | |
| download | redot-engine-fd69604bd9dc743494a7818f25f384cc7f521b33.tar.gz | |
Adds editor_hint to Engine class
Diffstat (limited to 'editor/editor_node.cpp')
| -rw-r--r-- | editor/editor_node.cpp | 2 |
1 files changed, 2 insertions, 0 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); |
