Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2008-02-11 21:26:19 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-02-11 21:26:19 +0300
commit79c0360e885ae5c167c075600b66431402e340c9 (patch)
tree704b767d9980114dec6493c6b411455b4a61ddb6 /source/blender/blenkernel/intern/idprop.c
parente706fc522b3f825a79417401ca1471947a03a8ef (diff)
IDP_CopyGroup wasn't copying the length, thanks Caedes for finding this one
Diffstat (limited to 'source/blender/blenkernel/intern/idprop.c')
-rw-r--r--source/blender/blenkernel/intern/idprop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/idprop.c b/source/blender/blenkernel/intern/idprop.c
index bf2a3aae11a..85144a535d3 100644
--- a/source/blender/blenkernel/intern/idprop.c
+++ b/source/blender/blenkernel/intern/idprop.c
@@ -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));
}