From f1b66dabf3d3408e720b0ed38cebfe5cfc4b7472 Mon Sep 17 00:00:00 2001 From: "Asad M. Zaman" Date: Thu, 9 Mar 2006 20:45:46 +0000 Subject: [PATCH] fixed the nametag not showing up in lower lods --- direct/src/actor/Actor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/direct/src/actor/Actor.py b/direct/src/actor/Actor.py index 2444477515..a5871d63f0 100644 --- a/direct/src/actor/Actor.py +++ b/direct/src/actor/Actor.py @@ -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