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:
Paolo Cignoni 2012-10-18 08:44:11 +00:00
parent 95d75112be
commit d3d85dd0c0
1 changed files with 1 additions and 0 deletions

View File

@ -178,6 +178,7 @@ namespace vcg{
}
if(!winner) newradius=radius+Si.voxel.Norm();
else newradius = _minDist;
iboxdone=iboxtodo;
}
while (_minDist>radius);