mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
Fix exception when creating intervals before ShowBase is started
This commit is contained in:
parent
231ca47edd
commit
f363088cb2
@ -131,10 +131,6 @@ class ShowBase(DirectObject.DirectObject):
|
||||
## just before Python is about to shut down.
|
||||
self.finalExitCallbacks = []
|
||||
|
||||
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
|
||||
# a little hacky, but we can't call it directly from within
|
||||
|
@ -102,7 +102,10 @@ Task.DtoolClassDict['loop'] = staticmethod(loop)
|
||||
class TaskManager:
|
||||
notify = directNotify.newCategory("TaskManager")
|
||||
|
||||
extendedExceptions = False
|
||||
taskTimerVerbose = ConfigVariableBool('task-timer-verbose', False)
|
||||
extendedExceptions = ConfigVariableBool('extended-exceptions', False)
|
||||
pStatsTasks = ConfigVariableBool('pstats-tasks', False)
|
||||
|
||||
MaxEpochSpeed = 1.0/30.0
|
||||
|
||||
def __init__(self):
|
||||
|
@ -40,6 +40,7 @@ This issue fixes several bugs that were still found in 1.9.2.
|
||||
* Fix inoperative -tbn/-tbnall/-tbnauto options in egg-optchar
|
||||
* Fix tinydisplay texture errors on shutdown
|
||||
* Fix mipmap filtering issues in tinydisplay renderer
|
||||
* Fix exception when creating intervals before ShowBase is started
|
||||
|
||||
------------------------ RELEASE 1.9.2 ------------------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user