mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
- Fix for the ships
This commit is contained in:
parent
8a44e44a35
commit
a8836281a4
@ -543,11 +543,13 @@ class Actor(DirectObject, NodePath):
|
||||
"""
|
||||
if (node == None):
|
||||
node = LODNode("lod")
|
||||
|
||||
self.__LODNode = self.__geomNode.attachNewNode(node)
|
||||
self.__hasLOD = 1
|
||||
self.switches = {}
|
||||
|
||||
if self.__LODNode:
|
||||
self.__LODNode = node
|
||||
else:
|
||||
self.__LODNode = self.__geomNode.attachNewNode(node)
|
||||
self.__hasLOD = 1
|
||||
self.switches = {}
|
||||
|
||||
def useLOD(self, lodName):
|
||||
"""
|
||||
Make the Actor ONLY display the given LOD
|
||||
|
Loading…
x
Reference in New Issue
Block a user