fixed VFAdjacencyIsInitialized in MeshAssert

This commit is contained in:
Luigi Malomo 2019-12-13 16:08:05 +01:00
parent 795f5473d6
commit 73efe508d0
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ public:
{ {
for(VertexIterator vi=m.vert.begin();vi!=m.vert.end();++vi) if(!vi->IsD()) for(VertexIterator vi=m.vert.begin();vi!=m.vert.end();++vi) if(!vi->IsD())
{ {
if(vi->VFp().IsNull()) if(vi->VFp() == nullptr)
throw vcg::MissingPreconditionException("VF adjacency is not initialized"); throw vcg::MissingPreconditionException("VF adjacency is not initialized");
} }
} }