Skip to content

Commit

Permalink
actor: comment out unused line of code
Browse files Browse the repository at this point in the history
Fixes #170
  • Loading branch information
rdb committed Sep 16, 2017
1 parent 82eec03 commit b8cb517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion direct/src/actor/Actor.py
Expand Up @@ -897,7 +897,7 @@ def getDuration(self, animName=None, partName=None,
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
Expand Down

0 comments on commit b8cb517

Please sign in to comment.