From f15f5d153e38c6ea76f48b8c462044176d53c900 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Tue, 24 Oct 2017 20:16:16 -0700 Subject: [PATCH] Remove cleanup redundancy --- animation/simple_animations.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/animation/simple_animations.py b/animation/simple_animations.py index 2aef84dc..0f7a9299 100644 --- a/animation/simple_animations.py +++ b/animation/simple_animations.py @@ -152,11 +152,6 @@ class ShowCreationThenDestruction(ShowPassingFlash): "run_time" : 1, } - def clean_up(self, *args, **kwargs): - ShowPassingFlash.clean_up(self, *args, **kwargs) - for submob, start_submob in self.get_all_families_zipped(): - submob.pointwise_become_partial(start_submob, 0, 1) - class MoveAlongPath(Animation): def __init__(self, mobject, vmobject, **kwargs): digest_config(self, kwargs, locals()) @@ -335,9 +330,9 @@ class LaggedStart(Animation): anim.update(alpha) return self - # def clean_up(self, *args, **kwargs): - # for anim in self.subanimations: - # anim.clean_up(*args, **kwargs) + def clean_up(self, *args, **kwargs): + for anim in self.subanimations: + anim.clean_up(*args, **kwargs) class DelayByOrder(Animation): """