WIP: Blender Kitsu: Convention Checker #124

Closed
Nick Alberelli wants to merge 8 commits from (deleted):feature/convention-checker-draft into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit 90e154f42d - Show all commits

View File

@ -331,6 +331,13 @@ class KITSU_addon_preferences(bpy.types.AddonPreferences):
default="", default="",
) )
convention_config: bpy.props.StringProperty( # type: ignore
name="Convention Checker Config Directory",
options={"HIDDEN", "SKIP_SAVE"},
description="Path to convention checker configuration file.",
subtype="DIR_PATH",
)
session: Session = Session() session: Session = Session()
tasks: bpy.props.CollectionProperty(type=KITSU_task) tasks: bpy.props.CollectionProperty(type=KITSU_task)
@ -425,6 +432,13 @@ class KITSU_addon_preferences(bpy.types.AddonPreferences):
box.row().prop(self, "shot_builder_action_prefix") box.row().prop(self, "shot_builder_action_prefix")
box.row().prop(self, "user_exec_code") box.row().prop(self, "user_exec_code")
# Convention Checker
box = layout.box()
box.label(
text="Convention Checker",
)
box.row().prop(self, "convention_config")
# Misc settings. # Misc settings.
box = layout.box() box = layout.box()
box.label(text="Miscellaneous", icon="MODIFIER") box.label(text="Miscellaneous", icon="MODIFIER")