You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-02 19:01:36 +00:00
Merge pull request #10319 from neikeq/pr-engine-editor-hint
Adds Engine::is_editor_hint() method
This commit is contained in:
@@ -277,9 +277,10 @@ 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);
|
||||
get_tree()->get_root()->set_as_audio_listener(false);
|
||||
get_tree()->get_root()->set_as_audio_listener_2d(false);
|
||||
get_tree()->set_auto_accept_quit(false);
|
||||
|
||||
Reference in New Issue
Block a user