[Blender_Kitsu] Add Operators to cleanup Animation Files #38

Merged
Nick Alberelli merged 12 commits from feature/enforce_naming into main 2023-05-09 17:12:20 +02:00
Showing only changes of commit 2eb7d45460 - Show all commits

View File

@ -389,7 +389,7 @@ class KITSU_OT_anim_update_output_coll(bpy.types.Operator):
# Ensure Camera Rig is Linked # Ensure Camera Rig is Linked
for coll in [col for col in bpy.data.collections]: for coll in [col for col in bpy.data.collections]:
if coll.override_library: if coll.override_library:
if coll.override_library.hierarchy_root.name == "CA-camera_rig": if coll.override_library.hierarchy_root.name == "CA-camera_rig": #TODO Fix this hack to be generic
output_coll.children.link(coll) output_coll.children.link(coll)
self.report( self.report(