diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-13 07:32:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-13 07:32:47 +0400 |
commit | 399ad54204ad9c3bc9dbd15ec4840824d224dc0c (patch) | |
tree | 6b03c3a4a55d456dd64a0d60bb01e6a83bdfdcb9 /source | |
parent | 9c2d3a8ed19fede220195172b51f0b6dee7d90c8 (diff) |
fix for bug introduced with weight paint vertex selection.
heat weighting ignored selected faces.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/armature/meshlaplacian.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/armature/meshlaplacian.c b/source/blender/editors/armature/meshlaplacian.c index e33b778a168..319b2c755b1 100644 --- a/source/blender/editors/armature/meshlaplacian.c +++ b/source/blender/editors/armature/meshlaplacian.c @@ -682,8 +682,8 @@ void heat_bone_weighting(Object *ob, Mesh *me, float (*verts)[3], int numsource, mask[mface->v4]= (mvert[mface->v4].flag & SELECT) != 0; } } - else { - if(use_face_sel) { + else if (use_face_sel) { + if (mface->flag & ME_FACE_SEL) { mask[mface->v1]= 1; mask[mface->v2]= 1; mask[mface->v3]= 1; |