Fix based on code review Issue 6347064 meshdata_transfer
authorOve Murberg Henriksen <sorayasilvermoon@hotmail.com>
Tue, 9 Oct 2012 11:29:29 +0000 (11:29 +0000)
committerOve Murberg Henriksen <sorayasilvermoon@hotmail.com>
Tue, 9 Oct 2012 11:29:29 +0000 (11:29 +0000)
source/blender/editors/object/object_vgroup.c

index a07bc3edda0ed88fb9e8d0479b3517ad9ccf9419..07df556b87d1474b46769df862e7c5ffb21ef457 100644 (file)
@@ -466,7 +466,7 @@ int ED_vgroup_transfer_weight(Object *ob_dst, Object *ob_src, bDeformGroup *dg_s
        dg_dst = defgroup_find_name(ob_dst, dg_src->name);
 
        /* get meshes */
-       dmesh_src = mesh_get_derived_deform(scene, ob_src, CD_MASK_BAREMESH | CD_MASK_ORIGINDEX);
+       dmesh_src = mesh_get_derived_deform(scene, ob_src, CD_MASK_BAREMESH);
        me_dst = ob_dst->data;
        me_src = ob_src->data;