Blender Kitsu: Move Render Review into Blender Kitsu #296

Merged
Showing only changes of commit dbd8197e7c - Show all commits

View File

@ -575,6 +575,25 @@ class KITSU_addon_preferences(bpy.types.AddonPreferences):
file_pattern_row.prop(self, "edit_export_file_pattern", text="Export File Pattern")
box.row().prop(self, "edit_export_frame_offset")
# Render Review
self.draw_render_review(col)
# Shot_Builder settings.
box = col.box()
box.label(text="Shot Builder", icon="MOD_BUILD")
box.prop(self, "shot_builder_frame_offset")
row = box.row(align=True)
# Avoids circular import error
from .shot_builder.ops import (
KITSU_OT_build_config_save_settings,
KITSU_OT_build_config_save_hooks,
KITSU_OT_build_config_save_templates,
)
box.row().operator(KITSU_OT_build_config_save_hooks.bl_idname, icon='FILE_SCRIPT')
box.row().operator(KITSU_OT_build_config_save_settings.bl_idname, icon="TEXT")
box.row().operator(KITSU_OT_build_config_save_templates.bl_idname, icon="FILE_BLEND")
# Lookdev tools settings.
self.lookdev.draw(context, col)
@ -603,24 +622,6 @@ class KITSU_addon_preferences(bpy.types.AddonPreferences):
emboss=False,
)
# Shot_Builder settings.
box = col.box()
box.label(text="Shot Builder", icon="MOD_BUILD")
box.prop(self, "shot_builder_frame_offset")
row = box.row(align=True)
# Avoids circular import error
from .shot_builder.ops import (
KITSU_OT_build_config_save_settings,
KITSU_OT_build_config_save_hooks,
KITSU_OT_build_config_save_templates,
)
box.row().operator(KITSU_OT_build_config_save_hooks.bl_idname, icon='FILE_SCRIPT')
box.row().operator(KITSU_OT_build_config_save_settings.bl_idname, icon="TEXT")
box.row().operator(KITSU_OT_build_config_save_templates.bl_idname, icon="FILE_BLEND")
# Render Review
self.draw_render_review(col)
# Misc settings.
box = col.box()
box.label(text="Miscellaneous", icon="MODIFIER")