diff options
author | Ton Roosendaal <ton@blender.org> | 2006-07-08 13:30:23 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-07-08 13:30:23 +0400 |
commit | 83d4833fc1edcf6e303265df11a1e6522fe4f267 (patch) | |
tree | a5b3ede3e37783ddd4beaa02d10ad993b4f69f41 | |
parent | 219a6b245c178acf16234c3870fc606f9c6bec76 (diff) |
Bug #4641
The ALT+C copy menu had a "Dupli" entry, but that didn't copy group-dupli
yet.
-rw-r--r-- | source/blender/src/editobject.c | 4 |
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; |