Browse Source

*** empty log message ***

Joe Shochet 25 years ago
parent
commit
43f7e521ec
2 changed files with 7 additions and 0 deletions
  1. 4 0
      direct/src/showbase/ShowBase.py
  2. 3 0
      direct/src/showbase/ShowBaseGlobal.py

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

@@ -15,6 +15,7 @@ import sys
 import LinearEulerIntegrator
 import AngularEulerIntegrator
 import ClockObject
+import Transitions
 
 globalClock = ClockObject.ClockObject.getGlobalClock()
 
@@ -127,6 +128,9 @@ class ShowBase:
         self.createRootPanel()
         self.createStats()
 
+        # Transition effects (fade, iris, etc)
+        self.transitions = Transitions.Transitions(self.loader)
+
         self.restart()
 
     def addAngularIntegrator(self):

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

@@ -14,3 +14,6 @@ __builtin__.loader = base.loader
 __builtin__.ostream = Notify.out()
 __builtin__.run = base.run
 __builtin__.tkroot = base.tkroot
+__builtin__.taskMgr = base.taskMgr
+__builtin__.eventMgr = base.eventMgr
+__builtin__.messenger = base.messenger