From ca94eae9a8316eb4a17bda2fd180bb7adfd0e13b Mon Sep 17 00:00:00 2001 From: Mike Goslin Date: Thu, 7 Jun 2001 05:55:05 +0000 Subject: [PATCH] *** empty log message *** --- direct/src/interval/ActorInterval.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/direct/src/interval/ActorInterval.py b/direct/src/interval/ActorInterval.py index c167bdddfd..99848610d8 100644 --- a/direct/src/interval/ActorInterval.py +++ b/direct/src/interval/ActorInterval.py @@ -3,7 +3,12 @@ from PandaModules import * from Interval import * +import DirectNotifyGlobal + class ActorInterval(Interval): + + notify = DirectNotifyGlobal.directNotify.newCategory('ActorInterval') + # Name counter animNum = 1 # Class methods @@ -59,6 +64,8 @@ class ActorInterval(Interval): (self.startTime + self.getDuration())) frame = int(round(currT)) % self.numFrames # Pose anim + self.notify.debug('updateFunc() - stopping at frame: %d of %d' \ + % (frame, self.numFrames)) self.actor.pose(self.animName, frame) if self.loop: self.ignore(self.stopEvent)