From c9173c73fe5fc93d2385dbd90328e6923b8cebd2 Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 26 Jan 2009 15:15:11 +0000 Subject: [PATCH] corrected wrong invocation of istwomanifold check --- vcg/complex/trimesh/clean.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/vcg/complex/trimesh/clean.h b/vcg/complex/trimesh/clean.h index 9631e214..2b8de764 100644 --- a/vcg/complex/trimesh/clean.h +++ b/vcg/complex/trimesh/clean.h @@ -725,9 +725,13 @@ private: return nonManifoldCnt; } - static bool IsTwoManifoldVertex( MeshType & m ) + static bool IsTwoManifoldVertexFF( MeshType & m ) { - return CountNonManifoldVertex(m,false) == 0 ; + return CountNonManifoldVertexFF(m,false) == 0 ; + } + static bool IsTwoManifoldVertexFFVF( MeshType & m ) + { + return CountNonManifoldVertexFFVF(m,false) == 0 ; } static void CountEdges( MeshType & m, int &count_e, int &boundary_e )