Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Dumb hard-coded file in stage_scenes

Grant Sanderson3bdc57aac427
diff --git a/stage_scenes.py b/stage_scenes.py
index ab84fe492..8ef370d27 100644
--- a/stage_scenes.py
+++ b/stage_scenes.py
@@ -12,8 +12,8 @@ from manimlib.extract_scene import is_child_scene
def get_sorted_scene_classes(module_name):
module = get_module(module_name)
- if hasattr(module, "ALL_SCENE_CLASSES"):
- return module.ALL_SCENE_CLASSES
+ if hasattr(module, "SCENES_IN_ORDER"):
+ return module.SCENES_IN_ORDER
# Otherwise, deduce from the order in which
# they're defined in a file
importlib.import_module(module.__name__)
@@ -43,7 +43,7 @@ def stage_scenes(module_name):
# }
# TODO, fix this
animation_dir = os.path.join(
- VIDEO_DIR, "ode", "part1", "1440p60"
+ VIDEO_DIR, "ode", "part2", "1440p60"
)
#
files = os.listdir(animation_dir)