minor fixes

This commit is contained in:
David Rose 2008-08-08 00:10:49 +00:00
parent f86360a303
commit 39f5de7827
3 changed files with 3 additions and 2 deletions

View File

@ -104,4 +104,3 @@ class DirectScrolledFrame(DirectFrame):
del self.verticalScroll
del self.horizontalScroll
DirectFrame.destroy(self)

View File

@ -66,7 +66,7 @@ class ActorInterval(Interval.Interval):
self.endFrame = 0
else:
self.frameRate = self.controls[0].getAnim().getBaseFrameRate() * abs(playRate)
self.frameRate = self.controls[0].getFrameRate() * abs(playRate)
# Compute start and end frames.
if startFrame != None:
self.startFrame = startFrame

View File

@ -78,6 +78,8 @@ class EventManager:
return eventParameter.getWstringValue()
elif (eventParameter.isTypedRefCount()):
return eventParameter.getTypedRefCountValue()
elif (eventParameter.isEmpty()):
return None
else:
# Must be some user defined type, return the ptr
# which will be downcast to that type