Add missing weight paint selection mirror

Was lost resolving merge-conflict.
This commit is contained in:
Campbell Barton 2016-01-21 18:46:17 +11:00
parent de356415ae
commit 301383c688
1 changed files with 4 additions and 0 deletions

View File

@ -1968,6 +1968,10 @@ static bool wpaint_stroke_test_start(bContext *C, wmOperator *op, const float UN
int i;
bDeformGroup *dg;
if (me->editflag & ME_EDIT_MIRROR_X) {
BKE_object_defgroup_mirror_selection(ob, defbase_tot, defbase_sel, defbase_sel, &defbase_tot_sel);
}
for (i = 0; i < defbase_tot; i++) {
if (defbase_sel[i]) {
dg = BLI_findlink(&ob->defbase, i);