mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Dumb hard-coded file in stage_scenes
This commit is contained in:
parent
77a3b47a09
commit
3bdc57aac4
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue