From 4826d46ca387a67072f0f7a72f0bee21e3dc4fb2 Mon Sep 17 00:00:00 2001 From: Martin Schultz Date: Tue, 30 May 2017 14:35:54 +0200 Subject: [PATCH] fix boundary case for TriMeshSplit1_4 --- src/OpenMesh/Core/Mesh/TriMeshT.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OpenMesh/Core/Mesh/TriMeshT.hh b/src/OpenMesh/Core/Mesh/TriMeshT.hh index f8eda46c..6ff32f3c 100644 --- a/src/OpenMesh/Core/Mesh/TriMeshT.hh +++ b/src/OpenMesh/Core/Mesh/TriMeshT.hh @@ -368,9 +368,9 @@ public: VertexHandle v1 = this->add_vertex(new1); VertexHandle v2 = this->add_vertex(new2); - const bool split0 = !this->is_boundary(he0); - const bool split1 = !this->is_boundary(he1); - const bool split2 = !this->is_boundary(he2); + const bool split0 = !this->is_boundary(eh0); + const bool split1 = !this->is_boundary(eh1); + const bool split2 = !this->is_boundary(eh2); // delete original face this->delete_face(_fh);