*** empty log message ***

This commit is contained in:
Mike Goslin 2001-06-27 00:41:50 +00:00
parent b859e36993
commit 2c275a92fa
1 changed files with 10 additions and 0 deletions

View File

@ -401,6 +401,16 @@ class Actor(PandaObject, NodePath):
"""hasLOD(self)
Return 1 if the actor has LODs, 0 otherwise"""
return self.__hasLOD
def update(self, lod=0):
""" update(lod)
"""
if (lod < len(self.__partBundleDict.values())):
partBundles = self.__partBundleDict.values()[lod].values()
for partBundle in partBundles:
partBundle.node().update()
else:
self.notify.warning('update() - no lod: %d' % lod)
def getFrameRate(self, animName=None, partName=None):
"""getFrameRate(self, string, string=None)