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;