changed m.HasFFTopology to HasFFTopology(m)

This commit is contained in:
ganovelli 2008-11-12 16:06:59 +00:00
parent 122f0412c8
commit 274e20b3df
1 changed files with 2 additions and 1 deletions

View File

@ -91,6 +91,7 @@ Initial commit
#include <algorithm> #include <algorithm>
#include <vector> #include <vector>
#include <vcg/simplex/face/pos.h> #include <vcg/simplex/face/pos.h>
#include <vcg/complex/trimesh/base.h>
namespace vcg { namespace vcg {
namespace tri { namespace tri {
/// \ingroup trimesh /// \ingroup trimesh
@ -185,7 +186,7 @@ static void FillEdgeVector(MeshType &m, std::vector<PEdge> &e)
/// \brief Update the Face-Face topological relation by allowing to retrieve for each face what other faces shares their edges. /// \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) static void FaceFace(MeshType &m)
{ {
if(!m.HasFFTopology()) return; assert(HasFFAdjacency(m));
if( m.fn == 0 ) return; if( m.fn == 0 ) return;
std::vector<PEdge> e; std::vector<PEdge> e;