From 3c81fe2f0ecd0209db8a517ecbaf9b41d1cc8e42 Mon Sep 17 00:00:00 2001 From: cignoni Date: Sun, 29 Jun 2008 22:56:08 +0000 Subject: [PATCH] Removed a m.cm leaked from meshlab here. Thanks to Alain Boyer for the kind bug submission! --- vcg/complex/trimesh/stat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/complex/trimesh/stat.h b/vcg/complex/trimesh/stat.h index 24bbee7d..ab1111d3 100644 --- a/vcg/complex/trimesh/stat.h +++ b/vcg/complex/trimesh/stat.h @@ -161,7 +161,7 @@ class Stat } } VertexIterator vi; - for(vi = m.cm.vert.begin(); vi != m.cm.vert.end(); ++vi) + for(vi = m.vert.begin(); vi != m.vert.end(); ++vi) (*vi).ClearS(); return 0; }