mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
fix oobeCull
This commit is contained in:
parent
beb9ffdc92
commit
be57287bef
@ -1806,8 +1806,10 @@ class ShowBase(DirectObject.DirectObject):
|
||||
self.oobe2cam.node().setNode(self.oobeCameraTrackball.node())
|
||||
|
||||
self.oobeVis = loader.loadModel('models/misc/camera')
|
||||
if self.oobeVis:
|
||||
self.oobeVis.node().setFinal(1)
|
||||
if not self.oobeVis:
|
||||
self.oobeVis = NodePath('oobeVis')
|
||||
self.oobeVis.node().setFinal(1)
|
||||
self.oobeVis.setLightOff(1)
|
||||
self.oobeCullFrustum = None
|
||||
self.oobeCullFrustumVis = None
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user