fixed the nametag not showing up in lower lods

This commit is contained in:
Asad M. Zaman 2006-03-09 20:45:46 +00:00
parent 04879e382e
commit f1b66dabf3
1 changed files with 3 additions and 0 deletions

View File

@ -241,6 +241,9 @@ class Actor(DirectObject, NodePath):
# copy the switches for lods
self.switches = other.switches
self.__LODNode = self.find('**/+LODNode')
self.__hasLOD = 0
if (not self.__LODNode.isEmpty()):
self.__hasLOD = 1
def __cmp__(self, other):
# Actor inherits from NodePath, which inherits a definition of