mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 03:15:07 -04:00
fix oobe() without camera model
This commit is contained in:
parent
7225b0a551
commit
b102477dcd
@ -493,6 +493,7 @@ class ShowBase:
|
|||||||
self.oobeButtonEventsType = TypeRegistry.ptr().findType('ButtonEvents_ButtonEventDataTransition')
|
self.oobeButtonEventsType = TypeRegistry.ptr().findType('ButtonEvents_ButtonEventDataTransition')
|
||||||
|
|
||||||
self.oobeVis = loader.loadModelOnce('models/misc/camera')
|
self.oobeVis = loader.loadModelOnce('models/misc/camera')
|
||||||
|
if self.oobeVis:
|
||||||
self.oobeVis.arc().setFinal(1)
|
self.oobeVis.arc().setFinal(1)
|
||||||
self.oobeCullFrustum = None
|
self.oobeCullFrustum = None
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user