A community-maintained Python framework for creating mathematical animations.
Fixed multiple animations being saved in the same file (#1588)
Jerónimo Squartinicae2ecc1bdb9
diff --git a/manim/utils/module_ops.py b/manim/utils/module_ops.pyindex 5de1d83df..501109a1f 100644--- a/manim/utils/module_ops.py+++ b/manim/utils/module_ops.py@@ -94,6 +94,7 @@ def get_scenes_to_render(scene_classes):def prompt_user_for_choice(scene_classes):num_to_class = {}+ config["write_all"] = Truefor count, scene_class in enumerate(scene_classes):count += 1 # start with 1 instead of 0name = scene_class.__name__