Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r1681 - trunk/Model/MiscObjects


Chronological Thread 
  • From: brownlee@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [Manta] r1681 - trunk/Model/MiscObjects
  • Date: Thu, 23 Aug 2007 15:34:24 -0600 (MDT)

Author: brownlee
Date: Thu Aug 23 15:34:24 2007
New Revision: 1681

Modified:
   trunk/Model/MiscObjects/KeyFrameAnimation.cc
Log:
fixed KeyFrameAnimation crashing when empty

Modified: trunk/Model/MiscObjects/KeyFrameAnimation.cc
==============================================================================
--- trunk/Model/MiscObjects/KeyFrameAnimation.cc        (original)
+++ trunk/Model/MiscObjects/KeyFrameAnimation.cc        Thu Aug 23 15:34:24 
2007
@@ -69,7 +69,7 @@
 
 void KeyFrameAnimation::update(Temp_Callback context)
 {
-  if (currGroup == NULL)
+  if (frames.size() < 1)
        return;
   //only one thread can do serial code
   if (context.proc == 0) {




  • [Manta] r1681 - trunk/Model/MiscObjects, brownlee, 08/23/2007

Archive powered by MHonArc 2.6.16.

Top of page