One more null ptr check
This commit is contained in:
parent
9fab16f0f3
commit
815d77192f
|
@ -103,7 +103,7 @@ bool SCULPT_is_automasking_enabled(const Sculpt *sd, const SculptSession *ss, co
|
|||
if (SCULPT_is_automasking_mode_enabled(sd, br, BRUSH_AUTOMASKING_CONCAVITY)) {
|
||||
return true;
|
||||
}
|
||||
if (br->concave_mask_factor > 0.0f) {
|
||||
if (br && br->concave_mask_factor > 0.0f) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue