fix oobe() without camera model

This commit is contained in:
David Rose 2001-08-13 21:58:25 +00:00
parent 7225b0a551
commit b102477dcd

View File

@ -493,7 +493,8 @@ class ShowBase:
self.oobeButtonEventsType = TypeRegistry.ptr().findType('ButtonEvents_ButtonEventDataTransition')
self.oobeVis = loader.loadModelOnce('models/misc/camera')
self.oobeVis.arc().setFinal(1)
if self.oobeVis:
self.oobeVis.arc().setFinal(1)
self.oobeCullFrustum = None
# Make sure the MouseValve is monitoring the Control key.