Fixed compilation in debug mode by removing the forgotten assert.

This commit is contained in:
Lukáš Hejl
2021-07-13 12:55:41 +02:00
parent 40fc96e051
commit f7fcc9b4d7

View File

@@ -588,7 +588,6 @@ void GLMmSegmentationGizmo3DScene::finalize_vertices()
void GLMmSegmentationGizmo3DScene::finalize_triangle_indices()
{
assert(triangle_indices_idx < this->triangle_indices.size());
assert(std::all_of(triangle_indices_VBO_ids.cbegin(), triangle_indices_VBO_ids.cend(), [](const auto &ti_VBO_id) { return ti_VBO_id == 0; }));
assert(this->triangle_indices.size() == this->triangle_indices_VBO_ids.size());