mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 19:46:21 +08:00
added cleanup to ShowCreationThenDestruction
This commit is contained in:
@ -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())
|
||||
|
Reference in New Issue
Block a user