Blender Kitsu: Add option to Exclude Collections from Output Collection #120

Merged
Nick Alberelli merged 9 commits from :feature/exclude-output-collections into main 2023-07-13 19:54:03 +02:00
Showing only changes of commit 35676a7614 - Show all commits

View File

@ -471,8 +471,11 @@ class KITSU_OT_anim_update_output_coll(bpy.types.Operator):
# Must display collections that already exist in output collection so user can exclude them
for col in self.output_coll.children:
parents.append(col)
box = layout.box()
box.label(text="Select Collection to Exclude", icon="OUTLINER_COLLECTION")
column = box.column(align=True)
for col in parents:
layout.prop(col.blender_kitsu_exclusions, "exclude", text=col.name)
column.prop(col.blender_kitsu_exclusions, "exclude", text=col.name)
def execute(self, context: bpy.types.Context) -> Set[str]:
# Clear Out Output Collection before Starting