Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / idprop.c
index 6ebdd371acbcdb54ed5c26a1878fb6b9941c3b2a..769a14607003a4691a081952876102f5b7973d28 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));