Overhaul scene loading and edit state management
This commit is contained in:
1 parent
f94bbfc07c
commit
8cd87c2c16
18 files changed
+242
-247
No files matched your search
@@ -167,7 +167,7 @@ void EditorDebuggerNode::_stack_frame_selected(int p_debugger) {
|
||||
void EditorDebuggerNode::_error_selected(const String &p_file, int p_line, int p_debugger) {
|
||||
if (!p_file.is_resource_file() && !ResourceCache::has(p_file)) {
|
||||
// If it's a built-in script, make sure the scene is opened first.
|
||||
EditorNode::get_singleton()->load_scene(p_file.get_slice("::", 0));
|
||||
EditorNode::get_singleton()->open_scene(p_file.get_slice("::", 0));
|
||||
}
|
||||
Ref<Script> s = ResourceLoader::load(p_file);
|
||||
emit_signal(SNAME("goto_script_line"), s, p_line - 1);
|
||||
|
||||
Reference in new issue
Block a user