Added unittest, to check if halfedges were marked as deleted, if the edges are deleted

Fixed delete_face function, not marking halfedges as deleted, if the edge gets deleted.
(Thanks to Maxime Quiblier for the bug report)



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@622 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2012-07-23 07:00:10 +00:00
parent 6a3fb965f8
commit ebff217ec5
3 changed files with 64 additions and 8 deletions

View File

@@ -67,9 +67,8 @@ TEST_F(OpenMeshIterators, VertexIter) {
// | / |
// 0 === 3
Mesh::VertexIter v_it=mesh_.vertices_begin();
Mesh::VertexIter v_end=mesh_.vertices_end();
Mesh::VertexIter v_it = mesh_.vertices_begin();
Mesh::VertexIter v_end = mesh_.vertices_end();
EXPECT_EQ(0, v_it.handle().idx()) << "Index wrong for vertex iterator vertices_begin()";
++v_it;