forked from bartvdbraak/blender
IDP_CopyGroup wasn't copying the length, thanks Caedes for finding this one
This commit is contained in:
parent
e706fc522b
commit
79c0360e88
@ -212,6 +212,7 @@ 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));
|
||||
|
Loading…
Reference in New Issue
Block a user