mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
typo
This commit is contained in:
parent
021df54242
commit
63da71ff99
@ -649,7 +649,7 @@ class Actor(DirectObject, NodePath):
|
||||
return None
|
||||
return controls[0].getNumFrames()
|
||||
|
||||
def getFrameTime(self, animName, frame, partName=None):
|
||||
def getFrameTime(self, anim, frame, partName=None):
|
||||
numFrames = self.getNumFrames(anim,partName)
|
||||
animTime = self.getDuration(anim,partName)
|
||||
frameTime = animTime * float(frame) / numFrames
|
||||
|
Loading…
x
Reference in New Issue
Block a user