From 7528d961e3b8d1a095b0f958e2ddc0a25df67970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Thu, 7 Jul 2011 07:46:02 +0000 Subject: [PATCH] Use kernel split function on trianlge meshes instead of polymesh split git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@398 fdac6126-5c0c-442c-9429-916003d36597 --- src/OpenMesh/Core/Mesh/TriMeshT.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/OpenMesh/Core/Mesh/TriMeshT.hh b/src/OpenMesh/Core/Mesh/TriMeshT.hh index 84d9720a..816f3903 100644 --- a/src/OpenMesh/Core/Mesh/TriMeshT.hh +++ b/src/OpenMesh/Core/Mesh/TriMeshT.hh @@ -177,11 +177,12 @@ public: { return PolyMesh::vertex_split(_v0, _v1, _vl, _vr); } /// Edge split (= 2-to-4 split) + /// Do not call PolyMeshT function below as this does the wrong operation inline void split(EdgeHandle _eh, const Point& _p) - { PolyMesh::split(_eh, add_vertex(_p)); } + { Kernel::split(_eh, add_vertex(_p)); } inline void split(EdgeHandle _eh, VertexHandle _vh) - { PolyMesh::split(_eh, _vh); } + { Kernel::split(_eh, _vh); } /// Face split (= 1-to-3 split, calls corresponding PolyMeshT function). inline void split(FaceHandle _fh, const Point& _p)