From 16d1909ad03ba15317e7eb6b040e4c2c8aecc422 Mon Sep 17 00:00:00 2001 From: ponchio Date: Tue, 28 Sep 2004 10:25:05 +0000 Subject: [PATCH] SetBox minimal change. --- vcg/space/index/grid_static_ptr.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcg/space/index/grid_static_ptr.h b/vcg/space/index/grid_static_ptr.h index 29d9ba64..88a1d66c 100644 --- a/vcg/space/index/grid_static_ptr.h +++ b/vcg/space/index/grid_static_ptr.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.9 2004/09/23 14:29:42 ponchio +Small bugs fixed. + Revision 1.8 2004/09/23 13:44:25 ponchio Removed SetSafeBBox. SetBBox is now safe enough. @@ -241,7 +244,7 @@ class GridStaticPtr { bbox = b; float t = bbox.Diag()/100.0; - if(t == 0) t = 0.0000001; + if(t == 0) t = 1e20; bbox.Offset(t); dim = bbox.max - bbox.min; }