A community-maintained Python framework for creating mathematical animations.
Remove STAGED_SCENES_DIR
Grant Sanderson5ea1a37d4c43
diff --git a/manimlib/constants.py b/manimlib/constants.pyindex 969d5dfa1..99327ff4a 100644--- a/manimlib/constants.py+++ b/manimlib/constants.py@@ -25,8 +25,6 @@ with open("media_dir.txt", 'w') as media_file:VIDEO_DIR = os.path.join(MEDIA_DIR, "videos")RASTER_IMAGE_DIR = os.path.join(MEDIA_DIR, "designs", "raster_images")SVG_IMAGE_DIR = os.path.join(MEDIA_DIR, "designs", "svg_images")-# TODO, staged scenes should really go into a subdirectory of a given scenes directory-STAGED_SCENES_DIR = os.path.join(VIDEO_DIR, "staged_scenes")###THIS_DIR = os.path.dirname(os.path.realpath(__file__))FILE_DIR = os.path.join(THIS_DIR, "files")@@ -35,8 +33,8 @@ TEX_DIR = os.path.join(FILE_DIR, "Tex")MOBJECT_DIR = os.path.join(FILE_DIR, "mobjects")IMAGE_MOBJECT_DIR = os.path.join(MOBJECT_DIR, "image")-for folder in [FILE_DIR, RASTER_IMAGE_DIR, SVG_IMAGE_DIR, VIDEO_DIR, TEX_DIR,- MOBJECT_DIR, IMAGE_MOBJECT_DIR, STAGED_SCENES_DIR]:+for folder in [FILE_DIR, RASTER_IMAGE_DIR, SVG_IMAGE_DIR, VIDEO_DIR,+ TEX_DIR, MOBJECT_DIR, IMAGE_MOBJECT_DIR]:if not os.path.exists(folder):os.makedirs(folder)