Browse Source

*** empty log message ***

Mike Goslin 24 years ago
parent
commit
fd4f644e1a
1 changed files with 4 additions and 1 deletions
  1. 4 1
      direct/src/interval/ActorInterval.py

+ 4 - 1
direct/src/interval/ActorInterval.py

@@ -51,7 +51,10 @@ class ActorInterval(Interval):
         # Update animation based upon current time
         # Pose or stop anim
         if (t >= self.getDuration()):
-            self.actor.stop()
+	    if (self.actor != None):
+            	self.actor.stop()
+	    else:
+		self.notify.warning('updateFunc() - actor == None!')
             if self.loop:
                 self.ignore(self.stopEvent)
         elif self.loop == 1: