Overhaul scene loading and edit state management

This commit is contained in:
kobewi
2026-02-28 23:08:26 +01:00
parent f94bbfc07c
commit 8cd87c2c16
18 changed files with 242 additions and 247 deletions
+1 -1
View File
@@ -1305,7 +1305,7 @@ void ScriptTextEditor::_lookup_symbol(const String &p_symbol, int p_row, int p_c
// Check for Autoload scenes.
const ProjectSettings::AutoloadInfo &info = ProjectSettings::get_singleton()->get_autoload(p_symbol);
if (info.is_singleton) {
EditorNode::get_singleton()->load_scene(info.path);
EditorNode::get_singleton()->open_scene(info.path);
}
} else if (p_symbol.is_relative_path()) {
// Every symbol other than absolute path is relative path so keep this condition at last.