MHX snapping IK to FK or vice versa results in script error
Issue #1880
resolved
Using MHX 1.7.3.0104, Blender 4.02, EndeavourOS (6.1.68-1-lts). Snapping IK to FK or vice versa for either legs, arms or the Snap FK/IK All buttons result in a script error with the following Python traceback:
Python: Traceback (most recent call last):
File "/home/jovub/.config/blender/4.0/scripts/addons/Diffeomorphic-mhx_rts-81baade08add/utils.py", line 206, in execute
self.prequel(context)
File "/home/jovub/.config/blender/4.0/scripts/addons/Diffeomorphic-mhx_rts-81baade08add/fkik.py", line 146, in prequel
HideOperator.prequel(self, context)
File "/home/jovub/.config/blender/4.0/scripts/addons/Diffeomorphic-mhx_rts-81baade08add/utils.py", line 260, in prequel
coll = self.rig.data.collections[cname]
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'bpy_prop_collection[key]: key "Root" not found'
Using MHX 1.7.0.0073 this results in a different traceback:
Python: Traceback (most recent call last):
File "/home/jovub/.config/blender/4.0/scripts/addons/mhx_rts/utils.py", line 193, in execute
self.prequel(context)
File "/home/jovub/.config/blender/4.0/scripts/addons/mhx_rts/fkik.py", line 146, in prequel
HideOperator.prequel(self, context)
File "/home/jovub/.config/blender/4.0/scripts/addons/mhx_rts/utils.py", line 241, in prequel
self.state = list(self.rig.data.layers)
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Armature' object has no attribute 'layers'
Comments (6)
-
-
- changed status to open
-
repo owner Fixed in last commit (the bugs in 1.7.3). Version 1.7.0 is not compatible with Blender 4 at all.
-
-
reporter Latest commit fixed it here as well, thanks.
-
- changed status to resolved
- Log in to comment
windows 10, blender 4.0.2, diffeomorphic 1.7.3.1953, mhx 1.7.3.0104
Here the error is slightly different but yes I can confirm the issue under win10 too.
steps: