فهرست منبع

*** empty log message ***

Jesse Schell 25 سال پیش
والد
کامیت
e54e426543
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      direct/src/actor/Actor.py

+ 2 - 1
direct/src/actor/Actor.py

@@ -370,7 +370,7 @@ class Actor(PandaObject, NodePath):
             for partName in partNames:
                 if (animName==None):
                     animName = self.getCurrentAnim(partName)          
-                animControl = self.__getAnimControl(animName, partName)
+                animControl = self.__getAnimControl(animName, partName, lodName)
                 if (animControl != None):
                     animControl.setPlayRate(rate)
             
@@ -738,6 +738,7 @@ class Actor(PandaObject, NodePath):
         else:
             # lod was not present
             Actor.notify.warning("couldn't find lod: %s" % (lodName))
+            assert(0)
             
         return None