*** empty log message ***

This commit is contained in:
gregw 2001-07-10 02:50:40 +00:00
parent 555f8d3e24
commit 993e2ca87b
1 changed files with 3 additions and 26 deletions

View File

@ -1202,32 +1202,9 @@ class Actor(PandaObject, NodePath):
for partName in other.__animControlDict[lodName].keys():
self.__animControlDict[lodName][partName] = {}
for animName in other.__animControlDict[lodName][partName].keys():
# if the anim is bound copy the animControl
if isinstance(
other.__animControlDict[lodName][partName][animName][1],
AnimControl):
# get the anim
animBundle = \
other.__animControlDict[lodName][partName][animName][1].getAnim()
# get the animPath
animPath = \
other.__animControlDict[lodName][partName][animName][0]
# get the part
partBundleNode = \
(self.__partBundleDict[lodName][partName].node())
# bind the anim
animControl = \
(partBundleNode.getBundle().bindAnim(animBundle, -1))
if (animControl == None):
Actor.notify.error("Null animControl: %s" % (animName))
else:
# store the anim control
self.__animControlDict[lodName][partName][animName] = [animPath, animControl]
else:
# else just copy what's there
self.__animControlDict[lodName][partName][animName] = \
other.__animControlDict[lodName][partName][animName]
# else just copy what's there
self.__animControlDict[lodName][partName][animName] = \
[other.__animControlDict[lodName][partName][animName][0], None]