mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -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
|
||||
signal.signal(signal.SIGINT, self.invokeDefaultHandler)
|
||||
|
||||
def setupTaskChain(self, chainName, numThreads = None, tickClock = None,
|
||||
threadPriority = None, frameBudget = None):
|
||||
def setupTaskChain(self, *args, **kw):
|
||||
# This is a no-op in the original task implementation; task
|
||||
# chains are not supported here.
|
||||
pass
|
||||
@ -636,8 +635,9 @@ class TaskManager:
|
||||
task.owner._addTask(task)
|
||||
return task
|
||||
|
||||
def add(self, funcOrTask, name, priority=None, sort=None, extraArgs=None, uponDeath=None,
|
||||
appendTask = False, taskChain = None, owner = None):
|
||||
def add(self, funcOrTask, name, sort = None, extraArgs = None,
|
||||
priority = None, uponDeath = None, appendTask = False,
|
||||
taskChain = None, owner = None):
|
||||
|
||||
"""
|
||||
Add a new task to the taskMgr.
|
||||
|
Loading…
x
Reference in New Issue
Block a user