You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-20 14:45:44 +00:00
EditorNode: Add function to load file as scene or resource
This commit is contained in:
@@ -1806,7 +1806,7 @@ void SceneTreeDock::_node_strip_signal_inheritance(Node *p_node) {
|
||||
}
|
||||
|
||||
void SceneTreeDock::_load_request(const String &p_path) {
|
||||
EditorNode::get_singleton()->open_request(p_path);
|
||||
EditorNode::get_singleton()->load_scene(p_path);
|
||||
_local_tree_selected();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user