From 274e20b3dfdf535175c1d9e899df48b2c955c673 Mon Sep 17 00:00:00 2001 From: ganovelli Date: Wed, 12 Nov 2008 16:06:59 +0000 Subject: [PATCH] changed m.HasFFTopology to HasFFTopology(m) --- vcg/complex/trimesh/update/topology.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vcg/complex/trimesh/update/topology.h b/vcg/complex/trimesh/update/topology.h index f870b377..b8d2ffee 100644 --- a/vcg/complex/trimesh/update/topology.h +++ b/vcg/complex/trimesh/update/topology.h @@ -91,6 +91,7 @@ Initial commit #include #include #include +#include namespace vcg { namespace tri { /// \ingroup trimesh @@ -185,7 +186,7 @@ static void FillEdgeVector(MeshType &m, std::vector &e) /// \brief Update the Face-Face topological relation by allowing to retrieve for each face what other faces shares their edges. static void FaceFace(MeshType &m) { - if(!m.HasFFTopology()) return; + assert(HasFFAdjacency(m)); if( m.fn == 0 ) return; std::vector e;