Fix: Remove incorrect sculpt assert

Added in 4bc146f00a

Missed the valid case where one of the two spans could be empty.

Pull Request: https://projects.blender.org/blender/blender/pulls/128501
This commit is contained in:
Sean Kim
2024-10-02 22:50:35 +02:00
committed by Sean Kim
parent 4a679470b6
commit 4cefac0da3

View File

@@ -6481,7 +6481,6 @@ void fill_factor_from_hide_and_mask(const Span<bool> hide_vert,
const MutableSpan<float> r_factors)
{
BLI_assert(verts.size() == r_factors.size());
BLI_assert(mask.size() == hide_vert.size());
if (!mask.is_empty()) {
for (const int i : verts.index_range()) {