diff --git a/vcg/complex/algorithms/mesh_assert.h b/vcg/complex/algorithms/mesh_assert.h index b61721e9..5f8a174a 100644 --- a/vcg/complex/algorithms/mesh_assert.h +++ b/vcg/complex/algorithms/mesh_assert.h @@ -69,7 +69,7 @@ public: { 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"); } }