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
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/editobject.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/src/editobject.c b/source/blender/src/editobject.c
index c0a2bb9ff50..27960db8890 100644
--- a/source/blender/src/editobject.c
+++ b/source/blender/src/editobject.c
@@ -2808,6 +2808,10 @@ void copy_attr(short event)
base->object->transflag &= ~OB_DUPLI;
base->object->transflag |= (ob->transflag & OB_DUPLI);
+
+ base->object->dup_group= ob->dup_group;
+ if(ob->dup_group)
+ id_us_plus((ID *)ob->dup_group);
}
else if(event==7) { /* mass */
base->object->mass= ob->mass;