diff --git a/vcg/complex/trimesh/allocate.h b/vcg/complex/trimesh/allocate.h index 946a041e..906ec797 100644 --- a/vcg/complex/trimesh/allocate.h +++ b/vcg/complex/trimesh/allocate.h @@ -24,6 +24,10 @@ History $Log: not supported by cvs2svn $ +Revision 1.34 2006/11/28 22:34:28 cignoni +Added default constructor with null initialization to adjacency members. +AddFaces and AddVertices NEED to know if the topology is correctly computed to update it. + Revision 1.33 2006/11/13 13:12:27 ponchio Removed a couple of useless assert. @@ -171,6 +175,7 @@ namespace vcg { void Clear(){newBase=oldBase=newEnd=oldEnd=0;preventUpdateFlag=false;}; void Update(SimplexPointerType &vp) { + if(vp>=newBase && vp=oldBase); assert(vp