IDP_CopyGroup wasn't copying the length, thanks Caedes for finding this one

This commit is contained in:
Campbell Barton 2008-02-11 18:26:19 +00:00
parent e706fc522b
commit 79c0360e88

@ -212,7 +212,8 @@ void IDP_UnlinkID(IDProperty *prop)
IDProperty *IDP_CopyGroup(IDProperty *prop)
{
IDProperty *newp = idp_generic_copy(prop), *link;
newp->len = prop->len;
for (link=prop->data.group.first; link; link=link->next) {
BLI_addtail(&newp->data.group, IDP_CopyProperty(link));
}