Remove useless assert

This commit is contained in:
Filip Sykala - NTB T15p 2022-07-20 10:07:56 +02:00
parent 621e6c8932
commit eb8f0df07b

View File

@ -760,8 +760,6 @@ indexed_triangle_set Slic3r::its_mask(const indexed_triangle_set &its,
} }
} }
if (faces_count == 0) return {}; if (faces_count == 0) return {};
assert(vertices_count <= vertices.size());
assert(faces_count <= indices.size());
indexed_triangle_set result; indexed_triangle_set result;
result.indices.reserve(faces_count); result.indices.reserve(faces_count);