Blender Kitsu: Rename Edit Render to Edit Export #249
@ -11,13 +11,13 @@ from .ops import (
|
||||
from ..generic.ops import KITSU_OT_open_path
|
||||
|
||||
|
||||
class KITSU_PT_edit_render_publish(bpy.types.Panel):
|
||||
class KITSU_PT_edit_export_publish(bpy.types.Panel):
|
||||
"""
|
||||
Panel in sequence editor that exposes a set of tools that are used to render latest edit
|
||||
Panel in sequence editor that exposes a set of tools that are used to export latest edit
|
||||
"""
|
||||
|
||||
bl_category = "Kitsu"
|
||||
bl_label = "Render & Publish"
|
||||
bl_label = "Export & Publish"
|
||||
bl_space_type = "SEQUENCE_EDITOR"
|
||||
bl_region_type = "UI"
|
||||
bl_options = {"DEFAULT_CLOSED"}
|
||||
@ -37,25 +37,25 @@ class KITSU_PT_edit_render_publish(bpy.types.Panel):
|
||||
box = ui.draw_error_box(layout)
|
||||
ui.draw_error_invalid_edit_export_root_dir(box)
|
||||
|
||||
# Edit Render version op.
|
||||
# Edit Export version op.
|
||||
row = layout.row(align=True)
|
||||
row.operator(
|
||||
KITSU_OT_edit_export_set_version.bl_idname,
|
||||
text=context.scene.kitsu.edit_export_version,
|
||||
icon="DOWNARROW_HLT",
|
||||
)
|
||||
# Edit Render increment version op.
|
||||
# Edit Export increment version op.
|
||||
row.operator(
|
||||
KITSU_OT_edit_export_increment_version.bl_idname,
|
||||
text="",
|
||||
icon="ADD",
|
||||
)
|
||||
|
||||
# Edit Render op.
|
||||
# Edit Export op.
|
||||
row = layout.row(align=True)
|
||||
row.operator(KITSU_OT_edit_export_publish.bl_idname, icon="RENDER_ANIMATION")
|
||||
|
||||
# Edit Render path label.
|
||||
# Edit Export path label.
|
||||
if Path(context.scene.kitsu.edit_export_file).exists():
|
||||
split = layout.split(factor=1 - split_factor_small, align=True)
|
||||
split.label(icon="ERROR")
|
||||
@ -72,7 +72,7 @@ class KITSU_PT_edit_render_publish(bpy.types.Panel):
|
||||
)
|
||||
|
||||
|
||||
class KITSU_PT_edit_render_tools(bpy.types.Panel):
|
||||
class KITSU_PT_edit_export_tools(bpy.types.Panel):
|
||||
"""
|
||||
Panel in sequence editor that exposes a set of tools that are used to load the latest edit
|
||||
"""
|
||||
@ -99,7 +99,7 @@ class KITSU_PT_edit_render_tools(bpy.types.Panel):
|
||||
box.operator(KITSU_OT_edit_export_import_latest.bl_idname)
|
||||
|
||||
|
||||
classes = [KITSU_PT_edit_render_publish, KITSU_PT_edit_render_tools]
|
||||
classes = [KITSU_PT_edit_export_publish, KITSU_PT_edit_export_tools]
|
||||
|
||||
|
||||
def register():
|
||||
|
Loading…
Reference in New Issue
Block a user