Removes editor_hint from SceneTree
This commit is contained in:
@@ -227,11 +227,11 @@ void WindowDialog::_notification(int p_what) {
|
||||
} break;
|
||||
#ifdef TOOLS_ENABLED
|
||||
case NOTIFICATION_POST_POPUP: {
|
||||
if (get_tree() && get_tree()->is_editor_hint() && EditorNode::get_singleton())
|
||||
if (get_tree() && Engine::get_singleton()->is_editor_hint() && EditorNode::get_singleton())
|
||||
EditorNode::get_singleton()->dim_editor(true);
|
||||
} break;
|
||||
case NOTIFICATION_POPUP_HIDE: {
|
||||
if (get_tree() && get_tree()->is_editor_hint() && EditorNode::get_singleton())
|
||||
if (get_tree() && Engine::get_singleton()->is_editor_hint() && EditorNode::get_singleton())
|
||||
EditorNode::get_singleton()->dim_editor(false);
|
||||
} break;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user