Cleanup: Remove outdated asserts

61fb25cb946154 removed the factors argument.
This commit is contained in:
Lukas Stockner 2024-07-03 15:59:29 +02:00
parent 35788ca3c9
commit e2d77fbc1c

@ -6920,7 +6920,6 @@ void calc_brush_distances(const SculptSession &ss,
const eBrushFalloffShape falloff_shape,
const MutableSpan<float> r_distances)
{
BLI_assert(verts.size() == factors.size());
BLI_assert(verts.size() == r_distances.size());
const float3 &test_location = ss.cache ? ss.cache->location : ss.cursor_location;
@ -6947,7 +6946,6 @@ void calc_brush_distances(const SculptSession &ss,
const eBrushFalloffShape falloff_shape,
const MutableSpan<float> r_distances)
{
BLI_assert(positions.size() == factors.size());
BLI_assert(positions.size() == r_distances.size());
const float3 &test_location = ss.cache ? ss.cache->location : ss.cursor_location;