From af15a07c0fad217c40c66f083b92b5877c1b2a67 Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 14 Jun 2012 13:48:25 +0000 Subject: [PATCH] corrected small bug in RemoveDuplicateFace involving the unsafe subtracting 1 from an unsigned int that could be zero... --- vcg/complex/algorithms/clean.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vcg/complex/algorithms/clean.h b/vcg/complex/algorithms/clean.h index fc7922e1..53134d6e 100644 --- a/vcg/complex/algorithms/clean.h +++ b/vcg/complex/algorithms/clean.h @@ -283,11 +283,11 @@ private: tri::Index(m,(*fi).V(2)), &*fi)); } - assert (size_t(m.fn) == fvec.size()); + assert (size_t(m.fn) == fvec.size()); //for(int i=0;i