Merge pull request #10319 from neikeq/pr-engine-editor-hint
Adds Engine::is_editor_hint() method
This commit is contained in:
commit
541fdffc0a
52 changed files with 167 additions and 114 deletions
|
|
@ -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) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue