From 969f5566915f079900efd7d0cabcb52272809e93 Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Wed, 27 Oct 2010 17:46:46 +0000 Subject: [PATCH] added if(vpoldEnd) return; test in PointerUpdater::Update function, so that entities that doesn't need to be updated has no problems --- vcg/complex/trimesh/allocate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vcg/complex/trimesh/allocate.h b/vcg/complex/trimesh/allocate.h index 3aa51b9f..6270d4d4 100644 --- a/vcg/complex/trimesh/allocate.h +++ b/vcg/complex/trimesh/allocate.h @@ -127,7 +127,8 @@ namespace vcg { void Clear(){newBase=oldBase=newEnd=oldEnd=0;}; void Update(SimplexPointerType &vp) { -// if(vp>=newBase && vp=newBase && vpoldEnd) return; assert(vp>=oldBase); assert(vp