added if(vp<oldBase || vp>oldEnd) return; test in PointerUpdater::Update function, so that entities that doesn't need to be updated has no problems
This commit is contained in:
parent
0bff4edee2
commit
969f556691
|
@ -127,7 +127,8 @@ namespace vcg {
|
|||
void Clear(){newBase=oldBase=newEnd=oldEnd=0;};
|
||||
void Update(SimplexPointerType &vp)
|
||||
{
|
||||
// if(vp>=newBase && vp<newEnd) return;
|
||||
//if(vp>=newBase && vp<newEnd) return;
|
||||
if(vp<oldBase || vp>oldEnd) return;
|
||||
assert(vp>=oldBase);
|
||||
assert(vp<oldEnd);
|
||||
vp=newBase+(vp-oldBase);
|
||||
|
|
Loading…
Reference in New Issue