mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
added accessor methods for task duration warning threshold
This commit is contained in:
parent
f1e618f02c
commit
c312d30eb8
@ -418,6 +418,12 @@ class TaskManager:
|
||||
self.fVerbose = value
|
||||
messenger.send('TaskManager-setVerbose', sentArgs = [value])
|
||||
|
||||
def getTaskDurationWarningThreshold(self):
|
||||
return self.taskDurationWarningThreshold
|
||||
|
||||
def setTaskDurationWarningThreshold(self, threshold):
|
||||
self.taskDurationWarningThreshold = threshold
|
||||
|
||||
def invokeDefaultHandler(self, signalNumber, stackFrame):
|
||||
print '*** allowing mid-frame keyboard interrupt.'
|
||||
# Restore default interrupt handler
|
||||
|
Loading…
x
Reference in New Issue
Block a user