From d29c7489ec2cd7a49aa82acfef406172f256c5b9 Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 6 Dec 2012 16:36:38 +0000 Subject: [PATCH] mismatch syntax error in a require VF vs FF --- vcg/complex/base.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vcg/complex/base.h b/vcg/complex/base.h index 81851713..8ffac95b 100644 --- a/vcg/complex/base.h +++ b/vcg/complex/base.h @@ -602,9 +602,9 @@ bool HasPerMeshAttribute(const MESH_TYPE &m, std::string name){ template void RequireVFAdjacency (MeshType &m) { if(!tri::HasVFAdjacency (m)) throw vcg::MissingComponentException("VFAdjacency"); } -template void RequireFFAdjacency (MeshType &m) { if(!tri::HasVFAdjacency (m)) throw vcg::MissingComponentException("VFAdjacency"); } -template void RequireFEAdjacency (MeshType &m) { if(!tri::HasVFAdjacency (m)) throw vcg::MissingComponentException("VFAdjacency"); } -template void RequireFHAdjacency (MeshType &m) { if(!tri::HasVFAdjacency (m)) throw vcg::MissingComponentException("VFAdjacency"); } +template void RequireFFAdjacency (MeshType &m) { if(!tri::HasFFAdjacency (m)) throw vcg::MissingComponentException("FFAdjacency"); } +template void RequireFEAdjacency (MeshType &m) { if(!tri::HasVEAdjacency (m)) throw vcg::MissingComponentException("VEAdjacency"); } +template void RequireFHAdjacency (MeshType &m) { if(!tri::HasVHAdjacency (m)) throw vcg::MissingComponentException("VHAdjacency"); } template void RequirePerVertexQuality (MeshType &m) { if(!tri::HasPerVertexQuality (m)) throw vcg::MissingComponentException("PerVertexQuality "); } template void RequirePerVertexNormal (MeshType &m) { if(!tri::HasPerVertexNormal (m)) throw vcg::MissingComponentException("PerVertexNormal "); }