diff --git a/vcg/complex/trimesh/allocate.h b/vcg/complex/trimesh/allocate.h index 3ceb418c..e006cd55 100644 --- a/vcg/complex/trimesh/allocate.h +++ b/vcg/complex/trimesh/allocate.h @@ -169,6 +169,7 @@ Initial commit #define __VCGLIB_TRIALLOCATOR #include +#include #include #include #include @@ -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;