mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
*** empty log message ***
This commit is contained in:
parent
92ca831ca2
commit
043472cfb5
Binary file not shown.
@ -295,7 +295,7 @@ def adjust(command = None, parent = None, **kw):
|
|||||||
base.wantDIRECT = 1
|
base.wantDIRECT = 1
|
||||||
base.wantTk = 1
|
base.wantTk = 1
|
||||||
import TkGlobal
|
import TkGlobal
|
||||||
from Tkinter import *
|
import Tkinter
|
||||||
import EntryScale
|
import EntryScale
|
||||||
import Pmw
|
import Pmw
|
||||||
# Create toplevel if needed
|
# Create toplevel if needed
|
||||||
|
@ -52,6 +52,8 @@ class ShowBase:
|
|||||||
self.wantStats = self.config.GetBool('want-stats', 0)
|
self.wantStats = self.config.GetBool('want-stats', 0)
|
||||||
|
|
||||||
taskMgr.taskTimerVerbose = self.config.GetBool('task-timer-verbose', 0)
|
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)
|
taskMgr.pStatsTasks = self.config.GetBool('pstats-tasks', 0)
|
||||||
|
|
||||||
# Set up the TaskManager to reset the PStats clock back
|
# Set up the TaskManager to reset the PStats clock back
|
||||||
|
@ -312,6 +312,7 @@ class TaskManager:
|
|||||||
if (TaskManager.notify == None):
|
if (TaskManager.notify == None):
|
||||||
TaskManager.notify = directNotify.newCategory("TaskManager")
|
TaskManager.notify = directNotify.newCategory("TaskManager")
|
||||||
self.taskTimerVerbose = 0
|
self.taskTimerVerbose = 0
|
||||||
|
self.extendedExceptions = 0
|
||||||
self.pStatsTasks = 0
|
self.pStatsTasks = 0
|
||||||
self.resumeFunc = None
|
self.resumeFunc = None
|
||||||
self.fVerbose = 0
|
self.fVerbose = 0
|
||||||
@ -501,9 +502,11 @@ class TaskManager:
|
|||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
self.stop()
|
self.stop()
|
||||||
except:
|
except:
|
||||||
# self.stop()
|
if self.extendedExceptions:
|
||||||
# print_exc_plus()
|
self.stop()
|
||||||
raise
|
print_exc_plus()
|
||||||
|
else:
|
||||||
|
raise
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
# Set a flag so we will stop before beginning next frame
|
# Set a flag so we will stop before beginning next frame
|
||||||
|
Loading…
x
Reference in New Issue
Block a user