Blender 4.0 Save Pose Error "'Armature' object has no attribute 'layers'"

Issue #1836 resolved
Jake created an issue

Getting this in Blender 4.0 when trying to save a pose as a json:

Python: Traceback (most recent call last):
  File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-bf1a9b6a163d\error.py", line 223, in execute
    self.run(context)
  File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-bf1a9b6a163d\store.py", line 81, in run
    struct = self.collectData(context)
  File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-bf1a9b6a163d\store.py", line 110, in collectData
    ostruct["layers"] = amt.layers
AttributeError: 'Armature' object has no attribute 'layers'

Guessing it’s because of the new bone collections system.

Comments (5)

  1. Thomas Larsson repo owner

    They are not missing here. But conversion to Blender 4 is on-going so your mhx rig must have been created in a recent commit.

  2. Log in to comment