diff --git a/doc/classes/EditorInterface.xml b/doc/classes/EditorInterface.xml index 1211578c63..5f5a8fdec4 100644 --- a/doc/classes/EditorInterface.xml +++ b/doc/classes/EditorInterface.xml @@ -450,7 +450,7 @@ - Reloads the scene at the given path. + Reloads the scene at the given path. Fails if the scene is not open. diff --git a/editor/debugger/editor_debugger_node.cpp b/editor/debugger/editor_debugger_node.cpp index 0f01de5d84..54045fe922 100644 --- a/editor/debugger/editor_debugger_node.cpp +++ b/editor/debugger/editor_debugger_node.cpp @@ -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