mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 22:13:30 +08:00
Remove cleanup redundancy
This commit is contained in:
@ -152,11 +152,6 @@ class ShowCreationThenDestruction(ShowPassingFlash):
|
|||||||
"run_time" : 1,
|
"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):
|
class MoveAlongPath(Animation):
|
||||||
def __init__(self, mobject, vmobject, **kwargs):
|
def __init__(self, mobject, vmobject, **kwargs):
|
||||||
digest_config(self, kwargs, locals())
|
digest_config(self, kwargs, locals())
|
||||||
@ -335,9 +330,9 @@ class LaggedStart(Animation):
|
|||||||
anim.update(alpha)
|
anim.update(alpha)
|
||||||
return self
|
return self
|
||||||
|
|
||||||
# def clean_up(self, *args, **kwargs):
|
def clean_up(self, *args, **kwargs):
|
||||||
# for anim in self.subanimations:
|
for anim in self.subanimations:
|
||||||
# anim.clean_up(*args, **kwargs)
|
anim.clean_up(*args, **kwargs)
|
||||||
|
|
||||||
class DelayByOrder(Animation):
|
class DelayByOrder(Animation):
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user