mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 03:15:07 -04:00
new female face and removed headactor
This commit is contained in:
parent
c293042de6
commit
b74d5dab19
@ -1508,6 +1508,7 @@ class Actor(DirectObject, NodePath):
|
|||||||
for partName in partNames:
|
for partName in partNames:
|
||||||
for animName in anims:
|
for animName in anims:
|
||||||
# delete the anim control
|
# delete the anim control
|
||||||
|
try:
|
||||||
animControlPair = self.__animControlDict[lodName][partName][animName]
|
animControlPair = self.__animControlDict[lodName][partName][animName]
|
||||||
if animControlPair[1] != None:
|
if animControlPair[1] != None:
|
||||||
# Try to clear any control effects before we let
|
# Try to clear any control effects before we let
|
||||||
@ -1517,6 +1518,8 @@ class Actor(DirectObject, NodePath):
|
|||||||
animControlPair[1].getPart().clearControlEffects()
|
animControlPair[1].getPart().clearControlEffects()
|
||||||
del(animControlPair[1])
|
del(animControlPair[1])
|
||||||
animControlPair.append(None)
|
animControlPair.append(None)
|
||||||
|
except:
|
||||||
|
return
|
||||||
|
|
||||||
def bindAnim(self, animName, partName="modelRoot", lodName="lodRoot"):
|
def bindAnim(self, animName, partName="modelRoot", lodName="lodRoot"):
|
||||||
"""bindAnim(self, string, string='modelRoot', string='lodRoot')
|
"""bindAnim(self, string, string='modelRoot', string='lodRoot')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user