Fixed wrong check for FF adj.

This commit is contained in:
Luigi Malomo 2015-03-16 14:06:09 +00:00
parent 8ac85892e3
commit 20429b9801
1 changed files with 3 additions and 2 deletions

View File

@ -344,8 +344,9 @@ public:
{ {
RequirePerFaceFlags(m); RequirePerFaceFlags(m);
RequirePerVertexFlags(m); RequirePerVertexFlags(m);
RequirePerFaceAdjacency(m); RequireFFAdjacency(m);
// tri::MeshAssert<MeshType>::FFAdjacencyIsInitialized(m); // MeshAssert<MeshType>::FFAdjacencyIsInitialized(m);
VertexClearB(m); VertexClearB(m);
for(FaceIterator fi=m.face.begin();fi!=m.face.end();++fi) for(FaceIterator fi=m.face.begin();fi!=m.face.end();++fi)
if(!(*fi).IsD()) if(!(*fi).IsD())