From c6e19401494cba02b0abe2fffdb0490506e21c5c Mon Sep 17 00:00:00 2001 From: cignoni Date: Sun, 3 Feb 2008 23:50:51 +0000 Subject: [PATCH] Important Change. Now adding a null bbox to a bbox leave it unchanged (instead of trashing it) --- vcg/space/box3.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vcg/space/box3.h b/vcg/space/box3.h index f1816507..6823dee9 100644 --- a/vcg/space/box3.h +++ b/vcg/space/box3.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.17 2007/07/12 06:41:24 cignoni +added a missing static to the Construct() member + Revision 1.16 2007/03/22 18:12:00 pietroni *** empty log message *** @@ -160,6 +163,7 @@ public: */ void Add( Box3 const & b ) { + if(b.IsNull()) return; // Adding a null bbox should do nothing if(IsNull()) *this=b; else {