diff options
author | Joshua Leung <aligorith@gmail.com> | 2007-03-23 07:45:17 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2007-03-23 07:45:17 +0300 |
commit | 4391c8cba806d5913e5c2a87f72ae319631f5d59 (patch) | |
tree | d865fc0eb8698c22702059890907342f85fd93f4 /source | |
parent | 9deb69dbca1d766759300bea956e3dbe0301acc0 (diff) |
Bugfix #6389:
"Copy To Linked" option for VertexGroups copied the vertexgroups of the active mesh to all meshes in the scene, not just the ones that used the same mesh datablock.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/buttons_editing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/buttons_editing.c b/source/blender/src/buttons_editing.c index fb6768739f5..6d6875e23d7 100644 --- a/source/blender/src/buttons_editing.c +++ b/source/blender/src/buttons_editing.c @@ -3871,7 +3871,7 @@ static void copy_linked_vgroup_channels(Object *ob) for(base=FIRSTBASE; base; base= base->next) { if(base->object->type==ob->type) { - if(base->object!=ob) { + if(base->object!=ob && base->object->data==ob->data) { BLI_freelistN(&base->object->defbase); duplicatelist(&base->object->defbase, &ob->defbase); base->object->actdef= ob->actdef; |