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:
Juan Linietsky 2018-05-07 13:34:09 -03:00 committed by GitHub
commit 8c30337565
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}
}