Blender Kitsu: Add option to Exclude Collections from Output Collection #120
@ -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
|
# Must display collections that already exist in output collection so user can exclude them
|
||||||
for col in self.output_coll.children:
|
for col in self.output_coll.children:
|
||||||
parents.append(col)
|
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:
|
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]:
|
def execute(self, context: bpy.types.Context) -> Set[str]:
|
||||||
# Clear Out Output Collection before Starting
|
# Clear Out Output Collection before Starting
|
||||||
|
Loading…
Reference in New Issue
Block a user