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:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user