mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
fix bug with models that contain animations
This commit is contained in:
parent
e1bee7aff7
commit
d39566836d
@ -1588,7 +1588,9 @@ class Actor(DirectObject, NodePath):
|
||||
# Now we've already bound the animation, but we
|
||||
# have no associated filename. So store the
|
||||
# animControl, but put None in for the filename.
|
||||
self.__animControlDict[lodName][partName][animName] = [None, animControl]
|
||||
animDef = Actor.AnimDef(None)
|
||||
animDef.animControl = animControl
|
||||
self.__animControlDict[lodName][partName][animName] = animDef
|
||||
|
||||
def __prepareBundle(self, bundleNP, model,
|
||||
partName="modelRoot", lodName="lodRoot"):
|
||||
|
Loading…
x
Reference in New Issue
Block a user