From cce86d42f89240d407795405c836515f60f1377e Mon Sep 17 00:00:00 2001 From: ponchio Date: Sat, 19 Feb 2005 10:43:11 +0000 Subject: [PATCH] reverted tarini mod --- vcg/complex/trimesh/allocate.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/vcg/complex/trimesh/allocate.h b/vcg/complex/trimesh/allocate.h index 6186b9d6..233ffb2c 100644 --- a/vcg/complex/trimesh/allocate.h +++ b/vcg/complex/trimesh/allocate.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.15 2005/02/08 17:14:28 tarini +aggiunto un typecast a (FaceType*) per farlo compilare under Mingw comp + Revision 1.14 2004/10/14 15:08:04 pietroni added #include @@ -325,7 +328,9 @@ static FaceIterator AddFaces(MeshType &m, int n, PointerUpdater &pu { if(VertexType::HasVFAdjacency()) if ((*vi).VFp()!=0) - pu.Update((FaceType*)(*vi).VFp()); + pu.Update((*vi).VFp()); + // was (for mingw) pu.Update((FaceType*)(*vi).VFp()); + } // e poiche' lo spazio e' cambiato si ricalcola anche last da zero unsigned int siz=m.face.size()-n;