From abb3fa2a0c41c5058f0f2f6f487c5ca5cdc8690a Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Tue, 28 Dec 2004 00:32:43 +0000 Subject: [PATCH] wantOtpServer --- direct/src/showbase/ShowBase.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/direct/src/showbase/ShowBase.py b/direct/src/showbase/ShowBase.py index b6b1de9cdc..3de18717bb 100644 --- a/direct/src/showbase/ShowBase.py +++ b/direct/src/showbase/ShowBase.py @@ -271,6 +271,9 @@ class ShowBase(DirectObject.DirectObject): ShowBase.notify.info('__dev__ == %s' % __dev__) + # This is temporary: + __builtins__["wantOtpServer"] = self.config.GetBool('want-otp-server', 0) + # Now hang a hook on the window-event from Panda. This allows # us to detect when the user resizes, minimizes, or closes the # main window.