Fix: Anim, replace last arm.collections.all with arm.collections_all
Replace the last occurrences of `arm.collections.all` to
`arm.collections_all`. This has been the API since
015555b07a.
This commit is contained in:
@@ -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'}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user