corrected small bug in the gridclosest scanning function that caused rescan of the inner box when the search region in the uniform grid was growing.
This commit is contained in:
parent
95d75112be
commit
d3d85dd0c0
|
@ -178,6 +178,7 @@ namespace vcg{
|
||||||
}
|
}
|
||||||
if(!winner) newradius=radius+Si.voxel.Norm();
|
if(!winner) newradius=radius+Si.voxel.Norm();
|
||||||
else newradius = _minDist;
|
else newradius = _minDist;
|
||||||
|
iboxdone=iboxtodo;
|
||||||
}
|
}
|
||||||
while (_minDist>radius);
|
while (_minDist>radius);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue