Add missing weight paint selection mirror
authorCampbell Barton <ideasman42@gmail.com>
Thu, 21 Jan 2016 07:46:17 +0000 (18:46 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 21 Jan 2016 07:46:17 +0000 (18:46 +1100)
Was lost resolving merge-conflict.

source/blender/editors/sculpt_paint/paint_vertex.c

index 7dd96c3cdacf29ed9efc16065cd02269aeb0af18..f90df4ba45e1aa0c8ee280f51a283831977473c6 100644 (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);