Overhaul scene loading and edit state management

This commit is contained in:
kobewi committed 2026-04-14 16:53:30 +02:00
1 parent f94bbfc07c
commit 8cd87c2c16
18 files changed
+242 -247

No files matched your search

+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()) {