Browse Source

*** empty log message ***

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

+ 3 - 0
direct/src/interval/ActorInterval.py

@@ -48,6 +48,9 @@ class ActorInterval(Interval):
 	""" updateFunc(t, event)
 	    Go to time t
 	"""
+	if (self.actor.isEmpty()):
+	    self.notify.warning('updateFunc() - empty actor!')
+	    return
         # Update animation based upon current time
         # Pose or stop anim
         if (t >= self.getDuration()):