From e2d77fbc1c627419d13c6305b64c8f68d10beae6 Mon Sep 17 00:00:00 2001 From: Lukas Stockner Date: Wed, 3 Jul 2024 15:59:29 +0200 Subject: [PATCH] Cleanup: Remove outdated asserts 61fb25cb946154 removed the factors argument. --- source/blender/editors/sculpt_paint/sculpt.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/blender/editors/sculpt_paint/sculpt.cc b/source/blender/editors/sculpt_paint/sculpt.cc index 125e9789835..b1db1a65ab9 100644 --- a/source/blender/editors/sculpt_paint/sculpt.cc +++ b/source/blender/editors/sculpt_paint/sculpt.cc @@ -6920,7 +6920,6 @@ void calc_brush_distances(const SculptSession &ss, const eBrushFalloffShape falloff_shape, const MutableSpan 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 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;