Fix #104723: Freestyle SVG output ensure path exists #104832
@ -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")
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user