From 43f7e521ec000b8d23b42af686fe185502ce4800 Mon Sep 17 00:00:00 2001 From: Joe Shochet Date: Tue, 30 Jan 2001 18:36:47 +0000 Subject: [PATCH] *** empty log message *** --- direct/src/showbase/ShowBase.py | 4 ++++ direct/src/showbase/ShowBaseGlobal.py | 3 +++ 2 files changed, 7 insertions(+) diff --git a/direct/src/showbase/ShowBase.py b/direct/src/showbase/ShowBase.py index b1b867feac..f8452e9f85 100644 --- a/direct/src/showbase/ShowBase.py +++ b/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): diff --git a/direct/src/showbase/ShowBaseGlobal.py b/direct/src/showbase/ShowBaseGlobal.py index 0dd3e5a8bd..4c52cce3e2 100644 --- a/direct/src/showbase/ShowBaseGlobal.py +++ b/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