From eba4a4bd73ba7918fb98e21acf5fbfb4aa748a18 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 16 Nov 2019 03:32:23 +1100 Subject: Fix active bone flip not activating the wpaint vertex group --- source/blender/editors/armature/pose_select.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source') 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); } } -- cgit v1.2.3