diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-01-21 10:46:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-01-21 10:46:17 +0300 |
commit | 301383c6881deb05382da6910e8be632408828c8 (patch) | |
tree | ff0e9c8d4b89e9ec6d5e06df38be2b9fe1eac256 | |
parent | de356415ae5748477b43e0e067c43889458bb367 (diff) |
Add missing weight paint selection mirror
Was lost resolving merge-conflict.
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_vertex.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c index 7dd96c3cdac..f90df4ba45e 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex.c +++ b/source/blender/editors/sculpt_paint/paint_vertex.c @@ -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); |