From 60d1fa3ccdc33d912c9d532181de14be201c2e18 Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 2 Oct 2006 09:34:03 +0000 Subject: [PATCH] Re-added diff 1.12 by Pietroni (cancelled by previous rollback): in GridDoRay function the RayIterator must be initialized with maximum distance --- vcg/space/index/grid_closest.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcg/space/index/grid_closest.h b/vcg/space/index/grid_closest.h index 5d1740b0..d7058e11 100644 --- a/vcg/space/index/grid_closest.h +++ b/vcg/space/index/grid_closest.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.15 2006/10/02 09:28:45 cignoni +Reverted to version 1.10 to nullify dangerous marfr960's changes + Revision 1.10 2006/05/17 12:48:52 pietroni corrected bug in GridGetInBox function @@ -216,7 +219,7 @@ namespace vcg{ typename SPATIALINDEXING::ScalarType & _t) { typedef vcg::RayIterator RayIteratorType; - RayIteratorType RayIte=RayIteratorType(_Si,_rayIntersector); + RayIteratorType RayIte=RayIteratorType(_Si,_rayIntersector,_maxDist); RayIte.SetMarker(_marker); RayIte.Init(_ray);