소스 검색

wantOtpServer

Dave Schuyler 21 년 전
부모
커밋
abb3fa2a0c
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      direct/src/showbase/ShowBase.py

+ 3 - 0
direct/src/showbase/ShowBase.py

@@ -271,6 +271,9 @@ class ShowBase(DirectObject.DirectObject):
 
 
         ShowBase.notify.info('__dev__ == %s' % __dev__)
         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
         # Now hang a hook on the window-event from Panda.  This allows
         # us to detect when the user resizes, minimizes, or closes the
         # us to detect when the user resizes, minimizes, or closes the
         # main window.
         # main window.