Corrected a very small bug in the finalize of the quadric simplification, (RW flags were not correctly restored at the end of the simplification)

This commit is contained in:
Paolo Cignoni 2008-07-17 06:52:56 +00:00
parent b9263267ec
commit 5082a0cb03
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ public:
for(vi=m.vert.begin();vi!=m.vert.end();++vi) for(vi=m.vert.begin();vi!=m.vert.end();++vi)
if(!(*vi).IsD()) (*vi).SetW(); if(!(*vi).IsD()) (*vi).SetW();
} }
if(Params().FastPreserveBoundary) if(Params().PreserveBoundary)
{ {
typename std::vector<typename TriMeshType::VertexPointer>::iterator wvi; typename std::vector<typename TriMeshType::VertexPointer>::iterator wvi;
for(wvi=WV().begin();wvi!=WV().end();++wvi) for(wvi=WV().begin();wvi!=WV().end();++wvi)