From cc5d4df4e8ff10430d454cc9521663f91e088e34 Mon Sep 17 00:00:00 2001 From: ponchio <federico.ponchio@isti.cnr.it> Date: Mon, 13 Nov 2006 13:12:27 +0000 Subject: [PATCH] Removed a couple of useless assert. --- vcg/complex/trimesh/allocate.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vcg/complex/trimesh/allocate.h b/vcg/complex/trimesh/allocate.h index 460b242b..e3aa446a 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.32 2006/10/27 11:06:29 ganovelli +the calls to HasFFAdjacency e HasVFAdjacency have been changed to override them for the optional attributes (see vcg/complex/trimesh/base.h) + Revision 1.31 2006/10/17 06:54:14 fiorin Added #include <assert.h> @@ -186,7 +189,6 @@ namespace vcg { */ static VertexIterator AddVertices(MeshType &m,int n, PointerUpdater<VertexPointer> &pu) { - assert(n>0); VertexIterator last; pu.Clear(); if(m.vert.empty()) pu.oldBase=0; // if the vector is empty we cannot find the last valid element @@ -261,7 +263,6 @@ namespace vcg { */ static FaceIterator AddFaces(MeshType &m, int n, PointerUpdater<FacePointer> &pu) { - assert(n>0); FaceIterator last; pu.Clear(); if(m.face.empty()) {