mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -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:
|
for thisPart, animDict in animDictItems:
|
||||||
anim = animDict.get(animName)
|
anim = animDict.get(animName)
|
||||||
if anim == None:
|
if anim == None:
|
||||||
|
for pName in partNameList:
|
||||||
# Maybe it's a subpart that hasn't been bound yet.
|
# Maybe it's a subpart that hasn't been bound yet.
|
||||||
subpartDef = self.__subpartDict.get(partName)
|
subpartDef = self.__subpartDict.get(pName)
|
||||||
if subpartDef:
|
if subpartDef:
|
||||||
truePartName = subpartDef[0]
|
truePartName = subpartDef[0]
|
||||||
anim = partDict[truePartName].get(animName)
|
anim = partDict[truePartName].get(animName)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user