Fix #105052: crash with sculpt automasking topology and mesh filter tool
This commit is contained in:
@@ -179,6 +179,10 @@ static float sculpt_automasking_normal_calc(SculptSession *ss,
|
||||
|
||||
static bool sculpt_automasking_is_constrained_by_radius(const Brush *br)
|
||||
{
|
||||
if (br == nullptr) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/* 2D falloff is not constrained by radius. */
|
||||
if (br->falloff_shape == PAINT_FALLOFF_SHAPE_TUBE) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user