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: