Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / idprop.c
index 5e4e8eb34ad93e4257e07653f2c3e21aeaaa0443..7c79e13cb01c7f4b88f02e4fd1881eebf6471d63 100644 (file)
@@ -472,6 +472,7 @@ static IDProperty *IDP_CopyGroup(const IDProperty *prop)
        BLI_assert(prop->type == IDP_GROUP);
        newp = idp_generic_copy(prop);
        newp->len = prop->len;
+       newp->subtype = prop->subtype;
 
        for (link = prop->data.group.first; link; link = link->next) {
                BLI_addtail(&newp->data.group, IDP_CopyProperty(link));