Sculpt: fix T102584: Boundary propegation for automasking not working
This commit is contained in:
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
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue