mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
Updated to work with new taskMgr
This commit is contained in:
parent
9468e4583c
commit
89d53bbb75
@ -626,11 +626,11 @@ class DirectSession(DirectObject):
|
|||||||
t = taskMgr.doMethodLater(DIRECT_FLASH_DURATION,
|
t = taskMgr.doMethodLater(DIRECT_FLASH_DURATION,
|
||||||
# This is just a dummy task
|
# This is just a dummy task
|
||||||
self.flashDummy,
|
self.flashDummy,
|
||||||
'flashNodePath')
|
'flashNodePath',)
|
||||||
t.nodePath = nodePath
|
t.nodePath = nodePath
|
||||||
t.doneColor = doneColor
|
t.doneColor = doneColor
|
||||||
# This really does all the work
|
# This really does all the work
|
||||||
t.uponDeath = self.flashDone
|
t.setUponDeath(self.flashDone)
|
||||||
|
|
||||||
def flashDummy(self, state):
|
def flashDummy(self, state):
|
||||||
# Real work is done in upon death function
|
# Real work is done in upon death function
|
||||||
|
Loading…
x
Reference in New Issue
Block a user