Corrected the update cycle in the AddFace. Thanks to Michele Vannoni for pointing out this bug!

This commit is contained in:
Paolo Cignoni 2008-11-07 15:36:19 +00:00
parent 01c0bc106f
commit 2e7c97e90e
1 changed files with 3 additions and 2 deletions

View File

@ -169,6 +169,7 @@ Initial commit
#define __VCGLIB_TRIALLOCATOR
#include <vector>
#include <string>
#include <set>
#include <assert.h>
#include <vcg/container/simple_temporary_data.h>
@ -401,8 +402,8 @@ namespace vcg {
if(HasVFAdjacency(m))
for(int i = 0; i < (*fi).VN(); ++i)
if ((*fi).cVFp(i)!=0) pu.Update((*fi).VFp(i));
}
++ii;
++ii;
}
++fi;
}
VertexIterator vi;