Josh Wilson 19 rokov pred
rodič
commit
63da71ff99
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      direct/src/actor/Actor.py

+ 1 - 1
direct/src/actor/Actor.py

@@ -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