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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue