Fix #104723: Freestyle SVG output ensure path exists #104832

Merged
YimingWu merged 1 commits from ChengduLittleA/blender-addons:fix-freestyle-svg into main 2023-08-11 05:42:06 +02:00

View File

@ -158,6 +158,8 @@ def create_path(scene):
else: else:
frame = "{:04d}-{:04d}".format(scene.frame_start, scene.frame_end) frame = "{:04d}-{:04d}".format(scene.frame_start, scene.frame_end)
os.makedirs(dirname, exist_ok=True)
return os.path.join(dirname, basename + frame + ".svg") return os.path.join(dirname, basename + frame + ".svg")