You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Adds editor_hint to Engine class
This commit is contained in:
@@ -465,6 +465,7 @@ void ProjectManager::_notification(int p_what) {
|
||||
|
||||
if (p_what == NOTIFICATION_ENTER_TREE) {
|
||||
|
||||
Engine::get_singleton()->set_editor_hint(true);
|
||||
get_tree()->set_editor_hint(true);
|
||||
|
||||
} else if (p_what == NOTIFICATION_VISIBILITY_CHANGED) {
|
||||
@@ -966,7 +967,6 @@ void ProjectManager::_run_project_confirm() {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
const String &selected = E->key();
|
||||
String path = EditorSettings::get_singleton()->get("projects/" + selected);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user