From 5082a0cb030c1564d62470883d6cec8b57866fac Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 17 Jul 2008 06:52:56 +0000 Subject: [PATCH] Corrected a very small bug in the finalize of the quadric simplification, (RW flags were not correctly restored at the end of the simplification) --- vcg/complex/local_optimization/tri_edge_collapse_quadric.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/complex/local_optimization/tri_edge_collapse_quadric.h b/vcg/complex/local_optimization/tri_edge_collapse_quadric.h index 8d4ec762..d750edf1 100644 --- a/vcg/complex/local_optimization/tri_edge_collapse_quadric.h +++ b/vcg/complex/local_optimization/tri_edge_collapse_quadric.h @@ -240,7 +240,7 @@ public: for(vi=m.vert.begin();vi!=m.vert.end();++vi) if(!(*vi).IsD()) (*vi).SetW(); } - if(Params().FastPreserveBoundary) + if(Params().PreserveBoundary) { typename std::vector::iterator wvi; for(wvi=WV().begin();wvi!=WV().end();++wvi)