Anim: fix Show All Bone Collections operator

Fix the 'Show All' bone collections operator, by making it operate on all
collections instead of just the roots.
This commit is contained in:
Sybren A. Stüvel
2024-01-08 14:32:57 +01:00
parent 687d6932c0
commit ef5dd0e451

View File

@@ -555,7 +555,7 @@ class ARMATURE_OT_collection_show_all(Operator):
def execute(self, context):
arm = context.object.data
for bcoll in arm.collections:
for bcoll in arm.collections.all:
bcoll.is_visible = True
return {'FINISHED'}