[Bf-blender-cvs] [1184501d5ce] master: Sculpt: Fix T103948: Automasking stroke id not being updated

Joseph Eagar noreply at git.blender.org
Fri Jan 20 03:33:34 CET 2023


Commit: 1184501d5ce147024faa93dca1e79b64140f8723
Author: Joseph Eagar
Date:   Thu Jan 19 18:32:40 2023 -0800
Branches: master
https://developer.blender.org/rB1184501d5ce147024faa93dca1e79b64140f8723

Sculpt: Fix T103948: Automasking stroke id not being updated

===================================================================

M	source/blender/editors/sculpt_paint/sculpt_automasking.cc

===================================================================

diff --git a/source/blender/editors/sculpt_paint/sculpt_automasking.cc b/source/blender/editors/sculpt_paint/sculpt_automasking.cc
index 3edc99d32c1..62c27a5ffeb 100644
--- a/source/blender/editors/sculpt_paint/sculpt_automasking.cc
+++ b/source/blender/editors/sculpt_paint/sculpt_automasking.cc
@@ -522,7 +522,7 @@ float SCULPT_automasking_factor_get(AutomaskingCache *automasking,
       factor *= sculpt_automasking_cavity_factor(automasking, ss, vert);
     }
 
-    return factor * mask;
+    return automasking_factor_end(ss, automasking, vert, factor * mask);
   }
 
   uchar stroke_id = ss->attrs.automasking_stroke_id ?



More information about the Bf-blender-cvs mailing list