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:
@@ -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'}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user