[Blender_Kitsu] Add Operators to cleanup Animation Files #38
@ -383,6 +383,12 @@ class KITSU_OT_anim_update_output_coll(bpy.types.Operator):
|
|||||||
output_coll.children.link(coll)
|
output_coll.children.link(coll)
|
||||||
logger.info("%s linked in %s", coll.name, output_coll.name)
|
logger.info("%s linked in %s", coll.name, output_coll.name)
|
||||||
|
|
||||||
|
# Ensure Camera Rig is Linked
|
||||||
|
for coll in [col for col in bpy.data.collections]:
|
||||||
|
if coll.override_library:
|
||||||
|
if coll.override_library.hierarchy_root.name == "CA-camera_rig":
|
||||||
|
output_coll.children.link(coll)
|
||||||
|
|
||||||
self.report(
|
self.report(
|
||||||
{"INFO"},
|
{"INFO"},
|
||||||
f"Found Asset Collections: {len(asset_colls)} | Added to output collection: {len(parents)}",
|
f"Found Asset Collections: {len(asset_colls)} | Added to output collection: {len(parents)}",
|
||||||
|
Loading…
Reference in New Issue
Block a user