Merge pull request #18684 from muiroc/fix_dragdrop_instancing
Editor: Makes dragdrop instantiation behavior consistent with the instance scene button
This commit is contained in:
commit
8c30337565
1 changed files with 1 additions and 1 deletions
|
@ -3121,7 +3121,7 @@ bool SpatialEditorViewport::_create_instance(Node *parent, String &path, const P
|
|||
if (!scene.is_valid()) { // invalid scene
|
||||
return false;
|
||||
} else {
|
||||
instanced_scene = scene->instance();
|
||||
instanced_scene = scene->instance(PackedScene::GEN_EDIT_STATE_INSTANCE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue