boundingmesh/Mesh.cpp:134: boundingmesh::Index boundingmesh::VertexPositionSet::addVertex(const Vector3&): Assertion `returned.second == true' failed.
kingjin94 opened this issue · comments
Hi there,
When working with a set of meshes I found that one could not be convexly decomposed due to the above assertion in Mesh.cpp, line 134.
After a quick look I concluded that the assertion should not be really necessary as it only tests if a point was newly added to the set and otherwise a pointer to the already existing point would be returned. And indeed removing the assertion allowed to process the mesh and resulted in a decomposition which looks reasonable in Meshlab.