mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
return task from add()
This commit is contained in:
parent
f06959d736
commit
4413cb9591
@ -411,6 +411,7 @@ class TaskManager:
|
||||
nameList.append(task)
|
||||
# Put it on the list for the end of this frame
|
||||
self.__addPendingTask(task)
|
||||
return task
|
||||
|
||||
def __addPendingTask(self, task):
|
||||
if TaskManager.notify.getDebug():
|
||||
|
Loading…
x
Reference in New Issue
Block a user