mirror of
https://github.com/godotengine/godot.git
synced 2026-03-03 20:55:48 +00:00
Merge pull request #10319 from neikeq/pr-engine-editor-hint
Adds Engine::is_editor_hint() method
This commit is contained in:
@@ -465,7 +465,7 @@ void ProjectManager::_notification(int p_what) {
|
||||
|
||||
if (p_what == NOTIFICATION_ENTER_TREE) {
|
||||
|
||||
get_tree()->set_editor_hint(true);
|
||||
Engine::get_singleton()->set_editor_hint(true);
|
||||
|
||||
} else if (p_what == NOTIFICATION_VISIBILITY_CHANGED) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user