From 89d53bbb750fbaae7b29ab679282daa8d0ad43a1 Mon Sep 17 00:00:00 2001 From: Gyedo Jeon Date: Wed, 29 Oct 2008 20:39:16 +0000 Subject: [PATCH] Updated to work with new taskMgr --- direct/src/directtools/DirectSession.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/direct/src/directtools/DirectSession.py b/direct/src/directtools/DirectSession.py index c857af4b7e..266d0a77a2 100644 --- a/direct/src/directtools/DirectSession.py +++ b/direct/src/directtools/DirectSession.py @@ -626,11 +626,11 @@ class DirectSession(DirectObject): t = taskMgr.doMethodLater(DIRECT_FLASH_DURATION, # This is just a dummy task self.flashDummy, - 'flashNodePath') + 'flashNodePath',) t.nodePath = nodePath t.doneColor = doneColor # This really does all the work - t.uponDeath = self.flashDone + t.setUponDeath(self.flashDone) def flashDummy(self, state): # Real work is done in upon death function