mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 14:12:51 +00:00
Instance scene at root by default
Fix bug in cdcfb9582e
leading to the
root node not being selected by default.
Fix #18557.
This commit is contained in:
parent
a71b0830ab
commit
595d377062
@ -113,7 +113,7 @@ void SceneTreeDock::instance(const String &p_file) {
|
||||
Node *parent = scene_tree->get_selected();
|
||||
|
||||
if (!parent) {
|
||||
Node *parent = edited_scene;
|
||||
parent = edited_scene;
|
||||
};
|
||||
|
||||
if (!edited_scene) {
|
||||
|
Loading…
Reference in New Issue
Block a user