Blender Kitsu: Rename Edit Render to Edit Export #249

Merged
Nick Alberelli merged 11 commits from TinyNick/blender-studio-pipeline:fix/rename-edit-render-to-edit-export into main 2024-02-26 18:17:54 +01:00
3 changed files with 7 additions and 7 deletions
Showing only changes of commit 8d742097f9 - Show all commits

View File

@ -101,7 +101,7 @@ class KITSU_OT_edit_render_publish(bpy.types.Operator):
return {"CANCELLED"}
# Build render_path
render_path = Path(kitsu_props.edit_render_file)
render_path = Path(kitsu_props.edit_export_file)
render_path_str = render_path.as_posix()
render_name = render_path.name
if not render_path.parent.exists():

View File

@ -56,19 +56,19 @@ class KITSU_PT_edit_render_publish(bpy.types.Panel):
row.operator(KITSU_OT_edit_render_publish.bl_idname, icon="RENDER_ANIMATION")
# Edit Render path label.
if Path(context.scene.kitsu.edit_render_file).exists():
if Path(context.scene.kitsu.edit_export_file).exists():
split = layout.split(factor=1 - split_factor_small, align=True)
split.label(icon="ERROR")
sub_split = split.split(factor=split_factor_small)
sub_split.label(text=context.scene.kitsu.edit_render_file)
sub_split.label(text=context.scene.kitsu.edit_export_file)
sub_split.operator(
KITSU_OT_open_path.bl_idname, icon="FILE_FOLDER", text=""
).filepath = context.scene.kitsu.edit_render_file
).filepath = context.scene.kitsu.edit_export_file
else:
row = layout.row(align=True)
row.label(text=context.scene.kitsu.edit_render_file)
row.label(text=context.scene.kitsu.edit_export_file)
row.operator(KITSU_OT_open_path.bl_idname, icon="FILE_FOLDER", text="").filepath = (
context.scene.kitsu.edit_render_file
context.scene.kitsu.edit_export_file
)

View File

@ -500,7 +500,7 @@ class KITSU_property_group_scene(bpy.types.PropertyGroup):
edit_export_version: bpy.props.StringProperty(name="Version", default="v001")
edit_render_file: bpy.props.StringProperty( # type: ignore
edit_export_file: bpy.props.StringProperty( # type: ignore
name="Edit Render Filepath",
description="Output filepath of Edit Render",
default="",