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
Showing only changes of commit 3f1674ef52 - Show all commits

View File

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