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
@@ -3695,7 +3695,7 @@ void ScriptEditor::_on_find_in_files_result_selected(const String &fpath, int li
scan_line--;
}
EditorNode::get_singleton()->load_scene(fpath);
EditorNode::get_singleton()->open_scene(fpath);
if (!script_id.is_empty()) {
Ref<Script> scr = ResourceLoader::load(fpath + "::" + script_id, "Script");
if (scr.is_valid()) {