mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
moved some Task params to class variables
This commit is contained in:
parent
f58a790703
commit
3cbb4819a4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user