Dumb hard-coded file in stage_scenes

This commit is contained in:
Grant Sanderson 2019-04-21 08:14:52 -07:00
parent 77a3b47a09
commit 3bdc57aac4

View file

@ -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)