From 301383c6881deb05382da6910e8be632408828c8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 21 Jan 2016 18:46:17 +1100 Subject: Add missing weight paint selection mirror Was lost resolving merge-conflict. --- source/blender/editors/sculpt_paint/paint_vertex.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/editors/sculpt_paint') 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); -- cgit v1.2.3