From 993e2ca87b4d0090a3277ca7bc5f8aba565eb0bb Mon Sep 17 00:00:00 2001 From: gregw <> Date: Tue, 10 Jul 2001 02:50:40 +0000 Subject: [PATCH] *** empty log message *** --- direct/src/actor/Actor.py | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/direct/src/actor/Actor.py b/direct/src/actor/Actor.py index 99fe61fb96..bfcd638794 100644 --- a/direct/src/actor/Actor.py +++ b/direct/src/actor/Actor.py @@ -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]