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