mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
fixed a list to string bug
This commit is contained in:
parent
beb9eb025b
commit
8833f3ea92
@ -1287,8 +1287,9 @@ class Actor(DirectObject, NodePath):
|
||||
for thisPart, animDict in animDictItems:
|
||||
anim = animDict.get(animName)
|
||||
if anim == None:
|
||||
for pName in partNameList:
|
||||
# Maybe it's a subpart that hasn't been bound yet.
|
||||
subpartDef = self.__subpartDict.get(partName)
|
||||
subpartDef = self.__subpartDict.get(pName)
|
||||
if subpartDef:
|
||||
truePartName = subpartDef[0]
|
||||
anim = partDict[truePartName].get(animName)
|
||||
|
Loading…
x
Reference in New Issue
Block a user