mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
parent
82eec0302b
commit
b8cb517152
@ -897,7 +897,7 @@ class Actor(DirectObject, NodePath):
|
||||
return ((toFrame+1)-fromFrame) / animControl.getFrameRate()
|
||||
|
||||
def getNumFrames(self, animName=None, partName=None):
|
||||
lodName = next(iter(self.__animControlDict))
|
||||
#lodName = next(iter(self.__animControlDict))
|
||||
controls = self.getAnimControls(animName, partName)
|
||||
if len(controls) == 0:
|
||||
return None
|
||||
|
Loading…
x
Reference in New Issue
Block a user