[Bf-blender-cvs] [eba4a4bd73b] blender-v2.81-release: Fix active bone flip not activating the wpaint vertex group
Campbell Barton
noreply at git.blender.org
Fri Nov 15 17:33:59 CET 2019
Commit: eba4a4bd73ba7918fb98e21acf5fbfb4aa748a18
Author: Campbell Barton
Date: Sat Nov 16 03:32:23 2019 +1100
Branches: blender-v2.81-release
https://developer.blender.org/rBeba4a4bd73ba7918fb98e21acf5fbfb4aa748a18
Fix active bone flip not activating the wpaint vertex group
===================================================================
M source/blender/editors/armature/pose_select.c
===================================================================
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);
}
}
More information about the Bf-blender-cvs
mailing list