mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 19:46:21 +08:00
Make sure AnimationGroup plays nicely with setting mobject animation status
This commit is contained in:
@ -50,11 +50,13 @@ class AnimationGroup(Animation):
|
||||
return self.group
|
||||
|
||||
def begin(self) -> None:
|
||||
self.group.set_animating_status(True)
|
||||
for anim in self.animations:
|
||||
anim.begin()
|
||||
# self.init_run_time()
|
||||
|
||||
def finish(self) -> None:
|
||||
self.group.set_animating_status(False)
|
||||
for anim in self.animations:
|
||||
anim.finish()
|
||||
|
||||
|
Reference in New Issue
Block a user