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:
authorTon Roosendaal <ton@blender.org>2006-07-08 13:30:23 +0400
committerTon Roosendaal <ton@blender.org>2006-07-08 13:30:23 +0400
commit83d4833fc1edcf6e303265df11a1e6522fe4f267 (patch)
treea5b3ede3e37783ddd4beaa02d10ad993b4f69f41 /source
parent219a6b245c178acf16234c3870fc606f9c6bec76 (diff)
Bug #4641
The ALT+C copy menu had a "Dupli" entry, but that didn't copy group-dupli yet.
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;