From f890ce75eeb69f93bddb7d130b56edf7571d2453 Mon Sep 17 00:00:00 2001 From: ganovelli Date: Thu, 24 Jun 2010 18:48:40 +0000 Subject: [PATCH] added HasPerVertexVFAdjacency and HasPerFaceVFAdjacency. Removed generic HasVFAdjacency which made the logical AND of the two and updated the relative calls. --- vcg/complex/trimesh/smooth.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/complex/trimesh/smooth.h b/vcg/complex/trimesh/smooth.h index 5b624320..64df6ddb 100644 --- a/vcg/complex/trimesh/smooth.h +++ b/vcg/complex/trimesh/smooth.h @@ -1280,7 +1280,7 @@ static void VertexCoordPasoDobleFast(MeshType &m, int NormalSmoothStep, typename PDFaceInfo lpzf; lpzf.m=CoordType(0,0,0); - assert(HasVFAdjacency(m)); + assert(HasPerVertexVFAdjacency(m) && HasPerFaceVFAdjacency(m)); SimpleTempData< typename MeshType::VertContainer, PDVertInfo> TDV(m.vert,lpzv); SimpleTempData< typename MeshType::FaceContainer, PDFaceInfo> TDF(m.face,lpzf);