add default parameter

This commit is contained in:
David Rose 2007-01-23 17:47:48 +00:00
parent 96a4b267f0
commit e4c789b01d
1 changed files with 1 additions and 1 deletions

View File

@ -1387,7 +1387,7 @@ class Actor(DirectObject, NodePath):
for control in self.getAnimControls(animName, partName, lodName):
control.getPart().setControlEffect(control, effect)
def getAnimControl(self, animName, partName, lodName="lodRoot"):
def getAnimControl(self, animName, partName="modelRoot", lodName="lodRoot"):
"""getAnimControl(self, string, string, string="lodRoot")
Search the animControl dictionary indicated by lodName for
a given anim and part. Return the animControl if present,