From a5f755bf9fce1f09876ddc6772d3fd329ee93b9c Mon Sep 17 00:00:00 2001 From: cignoni Date: Sun, 22 Jan 2006 17:06:27 +0000 Subject: [PATCH] vi/fi mismatch in ClipWithBox --- vcg/complex/trimesh/clean.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vcg/complex/trimesh/clean.h b/vcg/complex/trimesh/clean.h index 1dcac7b0..24a50437 100644 --- a/vcg/complex/trimesh/clean.h +++ b/vcg/complex/trimesh/clean.h @@ -24,6 +24,10 @@ History $Log: not supported by cvs2svn $ +Revision 1.30 2006/01/22 10:07:42 cignoni +Corrected use of Area with the unambiguous DoubleArea +Added ClipWithBox function + Revision 1.29 2006/01/11 15:40:14 cignoni Added RemoveDegenerateFace and added its automatic invocation at the end of RemoveDuplicateVertex @@ -336,7 +340,7 @@ namespace vcg { --m.vn; } } - for (fi = m.face.begin(); fi != m.face.end(); ++fi) if(!(*vi).IsD()) + for (fi = m.face.begin(); fi != m.face.end(); ++fi) if(!(*fi).IsD()) { if( (*fi).V(0)->IsD() || (*fi).V(1)->IsD() ||