diff --git a/scripts/startup/bl_operators/anim.py b/scripts/startup/bl_operators/anim.py index 054a88ced37..dd30b18e40e 100644 --- a/scripts/startup/bl_operators/anim.py +++ b/scripts/startup/bl_operators/anim.py @@ -560,7 +560,7 @@ class ARMATURE_OT_collection_solo_visibility(Operator): return {'CANCELLED'} # Hide everything first. - for bcoll in arm.collections.all: + for bcoll in arm.collections_all: bcoll.is_visible = False # Show the named bone collection and all its ancestors. @@ -583,7 +583,7 @@ class ARMATURE_OT_collection_show_all(Operator): def execute(self, context): arm = context.object.data - for bcoll in arm.collections.all: + for bcoll in arm.collections_all: bcoll.is_visible = True return {'FINISHED'} diff --git a/source/blender/makesrna/intern/rna_armature.cc b/source/blender/makesrna/intern/rna_armature.cc index 10a230a991c..480f4535e70 100644 --- a/source/blender/makesrna/intern/rna_armature.cc +++ b/source/blender/makesrna/intern/rna_armature.cc @@ -2381,7 +2381,7 @@ static void rna_def_bonecollection(BlenderRNA *brna) RNA_def_property_ui_text( prop, "Index", - "Index of this bone collection in the armature.collections.all array. Note that finding " + "Index of this bone collection in the armature.collections_all array. Note that finding " "this index requires a scan of all the bone collections, so do access this with care"); prop = RNA_def_property(srna, "child_number", PROP_INT, PROP_NONE);