mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
*** empty log message ***
This commit is contained in:
parent
b17370e3fe
commit
3063689934
@ -310,6 +310,14 @@ class TaskManager:
|
||||
# Didnt find any, return 0
|
||||
return 0
|
||||
|
||||
def getTasksNamed(self, taskName):
|
||||
# Get the tasks with this name
|
||||
tasks = self.nameDict.get(taskName, [])
|
||||
# Filter out the tasks that have been removed
|
||||
if tasks:
|
||||
tasks = filter(lambda task: not task.isRemoved(), tasks)
|
||||
return tasks
|
||||
|
||||
def __doLaterProcessor(self, task):
|
||||
# Make a temp list of all the dolaters that expired this time
|
||||
# through so we can remove them after we are done with the
|
||||
|
Loading…
x
Reference in New Issue
Block a user