diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-11-15 19:32:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-11-15 19:32:23 +0300 |
commit | eba4a4bd73ba7918fb98e21acf5fbfb4aa748a18 (patch) | |
tree | de52e5b3fd54470ef63658c8f9302988851d178f | |
parent | b266b1034f95b9007433cb8f0544aee900ddd208 (diff) |
Fix active bone flip not activating the wpaint vertex group
-rw-r--r-- | source/blender/editors/armature/pose_select.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/armature/pose_select.c b/source/blender/editors/armature/pose_select.c index a60b9c56dc6..0c359b2a757 100644 --- a/source/blender/editors/armature/pose_select.c +++ b/source/blender/editors/armature/pose_select.c @@ -1170,8 +1170,8 @@ static int pose_select_mirror_exec(bContext *C, wmOperator *op) /* In weightpaint we select the associated vertex group too. */ if (is_weight_paint) { - ED_vgroup_select_by_name(ob, pchan_mirror_act->name); - DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY); + ED_vgroup_select_by_name(ob_active, pchan_mirror_act->name); + DEG_id_tag_update(&ob_active->id, ID_RECALC_GEOMETRY); } } |