mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -04:00
*** empty log message ***
This commit is contained in:
parent
52b1bbadfc
commit
e54e426543
@ -370,7 +370,7 @@ class Actor(PandaObject, NodePath):
|
|||||||
for partName in partNames:
|
for partName in partNames:
|
||||||
if (animName==None):
|
if (animName==None):
|
||||||
animName = self.getCurrentAnim(partName)
|
animName = self.getCurrentAnim(partName)
|
||||||
animControl = self.__getAnimControl(animName, partName)
|
animControl = self.__getAnimControl(animName, partName, lodName)
|
||||||
if (animControl != None):
|
if (animControl != None):
|
||||||
animControl.setPlayRate(rate)
|
animControl.setPlayRate(rate)
|
||||||
|
|
||||||
@ -738,6 +738,7 @@ class Actor(PandaObject, NodePath):
|
|||||||
else:
|
else:
|
||||||
# lod was not present
|
# lod was not present
|
||||||
Actor.notify.warning("couldn't find lod: %s" % (lodName))
|
Actor.notify.warning("couldn't find lod: %s" % (lodName))
|
||||||
|
assert(0)
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user