From 8fc045923ffb259e0e238eabc54d5f1792ab117d Mon Sep 17 00:00:00 2001 From: Abhishek Nath Date: Tue, 2 Jun 2009 21:38:48 +0000 Subject: [PATCH] An unintended change snuck through in the previous revision. --- direct/src/tkpanels/AnimPanel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/tkpanels/AnimPanel.py b/direct/src/tkpanels/AnimPanel.py index 5e58dcc1be..87bde4a2a7 100644 --- a/direct/src/tkpanels/AnimPanel.py +++ b/direct/src/tkpanels/AnimPanel.py @@ -578,7 +578,7 @@ class ActorControl(Pmw.MegaWidget): else: if (self.currT > self.maxSeconds): # Clear this actor control from play list - taskMgr.remove() + self['animPanel'].playList.remove(self) else: self.goToT(self.currT) else: