A community-maintained Python framework for creating mathematical animations.
if there is no partial_movie_directory, then we cannot check if anything is cached
leotrs151ac773bb21
diff --git a/manim/scene/scene_file_writer.py b/manim/scene/scene_file_writer.pyindex ce2c5a0ff..91ecddda5 100644--- a/manim/scene/scene_file_writer.py+++ b/manim/scene/scene_file_writer.py@@ -125,6 +125,8 @@ class SceneFileWriter(object):hash_animation : strHash of the animation."""+ if not hasattr(self, 'partial_movie_directory'):+ return# None has to be added to partial_movie_files to keep the right index with scene.num_plays.# i.e if an animation is skipped, scene.num_plays is still incremented and we add an element to partial_movie_file be even with num_plays.