Skip to content

Fix Model - AttributeError: 'EditBone' object has no attribute 'layers' #653

@Flynsarmy

Description

@Flynsarmy

Once #652 is fixed, the next error in line is:

Python: Traceback (most recent call last):
File "C:\path\to\Blender\4.0\scripts\addons\cats-blender-plugin-development\tools\armature.py", line 515, in execute
bone.layers[0] = True
AttributeError: 'EditBone' object has no attribute 'layers'

It looks like layers was removed in from Pose in Blender 4. See https://docs.blender.org/api/current/bpy.types.EditBone.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions