1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Adds editor_hint to Engine class

This commit is contained in:
Ignacio Etcheverry
2017-08-13 16:21:45 +02:00
parent ff2cb35b90
commit fd69604bd9
7 changed files with 32 additions and 1 deletions

View File

@@ -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);