[Blender_Kitsu] Add Operators to cleanup Animation Files #38
@ -370,6 +370,7 @@ class KITSU_OT_anim_update_output_coll(bpy.types.Operator):
|
|||||||
# Clear Out Output Collection before Starting
|
# Clear Out Output Collection before Starting
|
||||||
for collection in output_coll.children:
|
for collection in output_coll.children:
|
||||||
output_coll.children.unlink(collection)
|
output_coll.children.unlink(collection)
|
||||||
|
bpy.context.view_layer.update()
|
||||||
|
|
||||||
# Check if all found asset colls are in output coll.
|
# Check if all found asset colls are in output coll.
|
||||||
for coll in asset_colls:
|
for coll in asset_colls:
|
||||||
|
Loading…
Reference in New Issue
Block a user