A community-maintained Python framework for creating mathematical animations.
Fixing `remover=True` for :class:`~.AnimationGroup` (#1722)
Oliver506135790edc
diff --git a/manim/animation/composition.py b/manim/animation/composition.pyindex d39f3b634..ec23a4fc8 100644--- a/manim/animation/composition.py+++ b/manim/animation/composition.py@@ -59,6 +59,8 @@ class AnimationGroup(Animation):def clean_up_from_scene(self, scene: Scene) -> None:for anim in self.animations:+ if self.remover:+ anim.remover = self.removeranim.clean_up_from_scene(scene)def update_mobjects(self, dt: float) -> None: