1
0
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:
Ignacio Etcheverry
2017-08-13 16:21:45 +02:00
parent ff2cb35b90
commit fd69604bd9
7 changed files with 32 additions and 1 deletions

View File

@@ -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);