Skip to content
Snippets Groups Projects
Commit 8f1ff60f authored by YimingWu's avatar YimingWu Committed by Philipp Oeser
Browse files

Fix #104723: Freestyle SVG output ensure path exists

Previously Freestyle SVG exporter does not ensure path exists, this would
lead to crashe after rendering. Now fixed.

This was also reported in blender main repo, for simpler process I'll
just link it here:
https://projects.blender.org/blender/blender/issues/111028

Pull Request: https://projects.blender.org/blender/blender-addons/pulls/104832
parent 9b131677
No related branches found
Tags v2.74-rc4
No related merge requests found
......@@ -155,7 +155,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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment