[Bf-extensions-cvs] [3ee20006] master: Storypencil: Fix problems with paths
Antonio Vazquez
noreply at git.blender.org
Sat Dec 31 16:51:29 CET 2022
Commit: 3ee200068c228a83fcd9b96746693d3c516574ec
Author: Antonio Vazquez
Date: Sat Dec 31 16:51:04 2022 +0100
Branches: master
https://developer.blender.org/rBA3ee200068c228a83fcd9b96746693d3c516574ec
Storypencil: Fix problems with paths
If path was not absolute the script could fail
===================================================================
M storypencil/render.py
===================================================================
diff --git a/storypencil/render.py b/storypencil/render.py
index 6f4a136f..357209df 100644
--- a/storypencil/render.py
+++ b/storypencil/render.py
@@ -98,7 +98,7 @@ class STORYPENCIL_OT_RenderAction(Operator):
prv_format = image_settings.file_format
prv_use_file_extension = scene.render.use_file_extension
prv_ffmpeg_format = scene.render.ffmpeg.format
- rootpath = scene.storypencil_render_render_path
+ rootpath = bpy.path.abspath(scene.storypencil_render_render_path)
only_selected = scene.storypencil_render_onlyselected
channel = scene.storypencil_render_channel
More information about the Bf-extensions-cvs
mailing list