Fix active bone flip not activating the wpaint vertex group

This commit is contained in:
Campbell Barton 2019-11-16 03:32:23 +11:00
parent b266b1034f
commit eba4a4bd73
Notes: blender-bot 2023-02-14 08:10:06 +01:00
Referenced by issue #71717, weird bug appears in the viewport when swichting to sculpting tab preset
Referenced by issue #71688, EEVEE Shader Compilation freezes and crashes afterwards.
Referenced by issue #71687, blender 2.80 and 2.81 crashes when i tried to copy a surf sub modifier.
Referenced by issue #71669, Mesh gets transparency in a specific vertex group after trying to render in EEVEE
Referenced by issue #71671, Bones in edit mode appears some weird shapes.
Referenced by issue #71649, blender 2.81 (and 2.80 as well) its running damn slow in windows 7.
Referenced by issue #60689, Flip Active/Selected Bone does not work in weight paint mode.
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}