Skip to content

Commit

Permalink
call finish() when animations finishes
Browse files Browse the repository at this point in the history
This could be a fix to the issue found in ManimCommunity#3950
  • Loading branch information
Laifsyn committed Oct 9, 2024
1 parent d6f066c commit 8b19b45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manim/animation/composition.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ def begin(self) -> None:
self.group.suspend_updating()
for anim in self.animations:
anim.begin()
else:
for anim in self.animations:
anim.finish()

def _setup_scene(self, scene) -> None:
for anim in self.animations:
Expand Down

0 comments on commit 8b19b45

Please sign in to comment.