mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
verbose bug fix
This commit is contained in:
parent
05b08da109
commit
9e78047e75
@ -279,6 +279,7 @@ class DoLaterList(list):
|
||||
else:
|
||||
lo = mid+1
|
||||
list.insert(self, lo, task)
|
||||
return lo
|
||||
|
||||
class TaskManager:
|
||||
|
||||
@ -381,7 +382,7 @@ class TaskManager:
|
||||
task.setStartTimeFrame(currentTime, self.currentFrame)
|
||||
# Cache the time we should wake up for easier sorting
|
||||
task.wakeTime = task.starttime + task.delayTime
|
||||
self.doLaterList.add(task)
|
||||
index = self.doLaterList.add(task)
|
||||
if self.fVerbose:
|
||||
# Alert the world, a new task is born!
|
||||
messenger.send('TaskManager-spawnDoLater',
|
||||
|
Loading…
x
Reference in New Issue
Block a user