corrected 1 bug in CountEdges function

This commit is contained in:
Nico Pietroni 2010-05-19 15:09:59 +00:00
parent 7473b2177a
commit 3ab37342c6
1 changed files with 4 additions and 2 deletions

View File

@ -764,6 +764,8 @@ private:
static void CountEdges( MeshType & m, int &count_e, int &boundary_e ) static void CountEdges( MeshType & m, int &count_e, int &boundary_e )
{ {
count_e=0;
boundary_e=0;
UpdateFlags<MeshType>::FaceClearV(m); UpdateFlags<MeshType>::FaceClearV(m);
FaceIterator fi; FaceIterator fi;
vcg::face::Pos<FaceType> he; vcg::face::Pos<FaceType> he;