From ff7b8f341260a44c887896eb3c38543cac0885e1 Mon Sep 17 00:00:00 2001 From: Philipp Oeser Date: Fri, 15 Dec 2023 15:46:38 +0100 Subject: [PATCH] Fix #116188: Symmetry breaks the Puff hair sculpting tool Caused by 1b19f629175c . Above commit didnt max the weight for each curve for each symmetry run (so was just using the max it found for each run, overwriting the previous run). Pull Request: https://projects.blender.org/blender/blender/pulls/116221 --- source/blender/editors/sculpt_paint/curves_sculpt_puff.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/sculpt_paint/curves_sculpt_puff.cc b/source/blender/editors/sculpt_paint/curves_sculpt_puff.cc index f3f7f54c2b6..355a737b2f2 100644 --- a/source/blender/editors/sculpt_paint/curves_sculpt_puff.cc +++ b/source/blender/editors/sculpt_paint/curves_sculpt_puff.cc @@ -213,7 +213,7 @@ struct PuffOperationExecutor { brush_, dist_to_brush_re, brush_radius_re); math::max_inplace(max_weight, radius_falloff); } - r_curve_weights[curve_i] = max_weight; + math::max_inplace(r_curve_weights[curve_i], max_weight); }); }