Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r1703 - trunk/Engine/Shadows


Chronological Thread 
  • From: thiago@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [Manta] r1703 - trunk/Engine/Shadows
  • Date: Sun, 2 Sep 2007 17:08:49 -0600 (MDT)

Author: thiago
Date: Sun Sep  2 17:08:48 2007
New Revision: 1703

Modified:
   trunk/Engine/Shadows/NoShadows.cc
Log:
fixing bug introduced in previous commit.

Modified: trunk/Engine/Shadows/NoShadows.cc
==============================================================================
--- trunk/Engine/Shadows/NoShadows.cc   (original)
+++ trunk/Engine/Shadows/NoShadows.cc   Sun Sep  2 17:08:48 2007
@@ -67,7 +67,7 @@
     j++;
   } while(last == -1 && j < nlights);
 
-  if (last > 0)
+  if (last >= 0)
     shadowRays.resize (first, last + 1);
 
   if(j == nlights){




  • [Manta] r1703 - trunk/Engine/Shadows, thiago, 09/02/2007

Archive powered by MHonArc 2.6.16.

Top of page