diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-12-15 21:15:38 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-12-15 21:15:38 +0300 |
commit | 8a6e9fc7ee68a2bbeae0bcbc22e3afe067089bd8 (patch) | |
tree | f27850bfc545144fc85ded8ccda8df0f93dc2d39 /source | |
parent | e677e7e99a3fae9d56cb9296d552707b74dc3c79 (diff) |
Bugfix: weight paint combined with pose mode was not working correct
in some cases, setting active vertex group to invalid value.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_vertex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c index 56e020e22aa..ba9c3631728 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex.c +++ b/source/blender/editors/sculpt_paint/paint_vertex.c @@ -1122,7 +1122,7 @@ static int set_wpaint(bContext *C, wmOperator *op) /* toggle */ /* verify if active weight group is also active bone */ par= modifiers_isDeformedByArmature(ob); if(par && (par->mode & OB_MODE_POSE)) { - bArmature *arm= ob->data; + bArmature *arm= par->data; if(arm->act_bone) ED_vgroup_select_by_name(ob, arm->act_bone->name); |