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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user