diff --git a/manimlib/scene/scene.py b/manimlib/scene/scene.py index 6c72b545..de24a44b 100644 --- a/manimlib/scene/scene.py +++ b/manimlib/scene/scene.py @@ -84,6 +84,8 @@ class Scene(Container): self.skip_animations = False self.wait(self.frame_duration) + self.tear_down() + if self.write_to_movie: self.close_movie_pipe() print("Played a total of %d animations" % self.num_plays) @@ -96,6 +98,9 @@ class Scene(Container): """ pass + def tear_down(self): + pass + def setup_bases(self): for base in self.__class__.__bases__: base.setup(self)