From 751a4ae26182b904e6c84a0f23f10fe30f538ecf Mon Sep 17 00:00:00 2001 From: cignoni Date: Wed, 11 May 2016 10:55:28 +0000 Subject: [PATCH] corrected syntax error in use fo IsValidPointer --- vcg/complex/algorithms/update/topology.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/complex/algorithms/update/topology.h b/vcg/complex/algorithms/update/topology.h index fa212c54..fae0f68e 100644 --- a/vcg/complex/algorithms/update/topology.h +++ b/vcg/complex/algorithms/update/topology.h @@ -454,7 +454,7 @@ static void TestVertexFace(MeshType &m) if(vi->VFp()!=0) // unreferenced vertices MUST have VF == 0; { int num=0; - assert(tri::IsValidPointer(vi->VFp())); + assert(tri::IsValidPointer(m, vi->VFp())); VFi.f=vi->VFp(); VFi.z=vi->VFi(); while (!VFi.End())