added cleanup to ShowCreationThenDestruction

This commit is contained in:
Grant Sanderson
2017-10-24 13:27:37 -07:00
parent 20318cb9d2
commit 0ba007bf21

View File

@ -152,6 +152,11 @@ 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())