mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-06 03:44:00 -04:00
restore original parameter order
This commit is contained in:
parent
2266110083
commit
11aee82520
@ -491,8 +491,7 @@ class TaskManager:
|
|||||||
# Next time around invoke the default handler
|
# Next time around invoke the default handler
|
||||||
signal.signal(signal.SIGINT, self.invokeDefaultHandler)
|
signal.signal(signal.SIGINT, self.invokeDefaultHandler)
|
||||||
|
|
||||||
def setupTaskChain(self, chainName, numThreads = None, tickClock = None,
|
def setupTaskChain(self, *args, **kw):
|
||||||
threadPriority = None, frameBudget = None):
|
|
||||||
# This is a no-op in the original task implementation; task
|
# This is a no-op in the original task implementation; task
|
||||||
# chains are not supported here.
|
# chains are not supported here.
|
||||||
pass
|
pass
|
||||||
@ -636,8 +635,9 @@ class TaskManager:
|
|||||||
task.owner._addTask(task)
|
task.owner._addTask(task)
|
||||||
return task
|
return task
|
||||||
|
|
||||||
def add(self, funcOrTask, name, priority=None, sort=None, extraArgs=None, uponDeath=None,
|
def add(self, funcOrTask, name, sort = None, extraArgs = None,
|
||||||
appendTask = False, taskChain = None, owner = None):
|
priority = None, uponDeath = None, appendTask = False,
|
||||||
|
taskChain = None, owner = None):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Add a new task to the taskMgr.
|
Add a new task to the taskMgr.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user