add default parameter
This commit is contained in:
parent
96a4b267f0
commit
e4c789b01d
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue