diff --git a/direct/src/actor/Actor.py b/direct/src/actor/Actor.py index 99c98a409c..d07779277d 100644 --- a/direct/src/actor/Actor.py +++ b/direct/src/actor/Actor.py @@ -1296,7 +1296,7 @@ class Actor(DirectObject, NodePath): # get the named animation only. for thisPart, animDict in animDictItems: anim = animDict.get(animName) - if anim == None: + if anim == None and partName != None: for pName in partNameList: # Maybe it's a subpart that hasn't been bound yet. subpartDef = self.__subpartDict.get(pName)