Move Anim_Setup module into Blender_Kitsu #5

Merged
Nick Alberelli merged 27 commits from :feature/merge_anim_setup_into_blender_kitsu into master 2023-04-05 17:38:41 +02:00
Showing only changes of commit a5fed16d82 - Show all commits

View File

@ -295,11 +295,10 @@ class KITSU_addon_preferences(bpy.types.AddonPreferences):
) )
edit_export_dir: bpy.props.StringProperty( # type: ignore edit_export_dir: bpy.props.StringProperty( # type: ignore
name="Edit Export Directory", name="Editorial Export Directory",
options={"HIDDEN", "SKIP_SAVE"}, options={"HIDDEN", "SKIP_SAVE"},
description="Directory path to editorial's export folder containing storyboard/animatic exports. Path should be similar to '~/shared-pets/editorial/export/'",
subtype="DIR_PATH", subtype="DIR_PATH",
# TODO ADD DEFAULT
# TODO ADD TO KITSU PREFRENCES UI
) )
session: Session = Session() session: Session = Session()
@ -393,6 +392,11 @@ class KITSU_addon_preferences(bpy.types.AddonPreferences):
box.row().prop(self, "shot_counter_digits") box.row().prop(self, "shot_counter_digits")
box.row().prop(self, "shot_counter_increment") box.row().prop(self, "shot_counter_increment")
# Misc settings.
box = layout.box()
box.label(text="Shot Builder", icon="MOD_BUILD")
box.row().prop(self, "edit_export_dir")
@property @property
def playblast_root_path(self) -> Optional[Path]: def playblast_root_path(self) -> Optional[Path]:
if not self.is_playblast_root_valid: if not self.is_playblast_root_valid: