Sculpt dyntopo: fix bug with automasking being needlessly initialized

This commit is contained in:
Joseph Eagar 2021-06-26 23:46:47 -07:00
parent adc8980dec
commit fb6636c812
1 changed files with 3 additions and 3 deletions

View File

@ -103,9 +103,9 @@ bool SCULPT_is_automasking_enabled(const Sculpt *sd, const SculptSession *ss, co
return true;
}
if (SCULPT_is_automasking_mode_enabled(sd, br, BRUSH_AUTOMASKING_CONCAVITY)) {
return true;
}
if (br && br->concave_mask_factor > 0.0f) {
if (br && br->concave_mask_factor == 0.0f) {
return false;
}
return true;
}