Sculpt: fix T102584: Boundary propegation for automasking not working

This commit is contained in:
Joseph Eagar 2022-11-20 07:18:04 -08:00
parent 4cac8025f0
commit 567ae90374
Notes: blender-bot 2023-02-14 03:52:45 +01:00
Referenced by issue #102584, Regression: Boundary Propagation doesn't work
1 changed files with 1 additions and 2 deletions

View File

@ -894,8 +894,7 @@ AutomaskingCache *SCULPT_automasking_cache_init(Sculpt *sd, Brush *brush, Object
* from zero which other modes can subtract from. If none of them are
* enabled initialize to 1.
*/
if (!(mode & (BRUSH_AUTOMASKING_BOUNDARY_EDGES | BRUSH_AUTOMASKING_TOPOLOGY |
BRUSH_AUTOMASKING_BOUNDARY_FACE_SETS))) {
if (!(mode & BRUSH_AUTOMASKING_TOPOLOGY)) {
initial_value = 1.0f;
}
else {