From 73efe508d0e5f3ff228134bb6c88493d908628e6 Mon Sep 17 00:00:00 2001 From: Luigi Malomo Date: Fri, 13 Dec 2019 16:08:05 +0100 Subject: [PATCH] fixed VFAdjacencyIsInitialized in MeshAssert --- vcg/complex/algorithms/mesh_assert.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } }