From 3cbb4819a417aa8dffa7679d827808b3d1886659 Mon Sep 17 00:00:00 2001 From: Joe Shochet Date: Mon, 26 Jul 2004 17:17:10 +0000 Subject: [PATCH] moved some Task params to class variables --- direct/src/showbase/ShowBase.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/direct/src/showbase/ShowBase.py b/direct/src/showbase/ShowBase.py index 44400dfd8e..cdc39a1b7c 100644 --- a/direct/src/showbase/ShowBase.py +++ b/direct/src/showbase/ShowBase.py @@ -79,10 +79,9 @@ class ShowBase(DirectObject.DirectObject): # the program by closing the main window. self.exitFunc = None - taskMgr.taskTimerVerbose = self.config.GetBool('task-timer-verbose', 0) - taskMgr.extendedExceptions = self.config.GetBool('extended-exceptions', 0) - - taskMgr.pStatsTasks = self.config.GetBool('pstats-tasks', 0) + Task.TaskManager.taskTimerVerbose = self.config.GetBool('task-timer-verbose', 0) + Task.TaskManager.extendedExceptions = self.config.GetBool('extended-exceptions', 0) + Task.TaskManager.pStatsTasks = self.config.GetBool('pstats-tasks', 0) # Set up the TaskManager to reset the PStats clock back # whenever we resume from a pause. This callback function is