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,8 +764,10 @@ private:
static void CountEdges( MeshType & m, int &count_e, int &boundary_e )
{
UpdateFlags<MeshType>::FaceClearV(m);
FaceIterator fi;
count_e=0;
boundary_e=0;
UpdateFlags<MeshType>::FaceClearV(m);
FaceIterator fi;
vcg::face::Pos<FaceType> he;
vcg::face::Pos<FaceType> hei;
bool counted =false;