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