- changed status to open
Import pose for selected bones only doesn't work for MHX rig
Issue #1822
resolved
Using Blender 4.0 Beta
Genesis Female 8.1 (tested with a complete standard character and pre morphed)
MHX rig
When importing a pose and selecting the “Selected Bones only” option (either fingers only, or even limbs only), the pose either doesn’t do anything or calls the following error:
Python: Traceback (most recent call last):
File "C:\Users\redacted\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-08339995f0b8\error.py", line 223, in execute
self.run(context)
File "C:\Users\redacted\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-08339995f0b8\animation.py", line 1739, in run
StandardAnimation.run(self, context)
File "C:\Users\redacted\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-08339995f0b8\animation.py", line 1457, in run
offset,prop = self.getSingleAnimation(filepath, context, offset)
File "C:\Users\redacted\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-08339995f0b8\animation.py", line 829, in getSingleAnimation
result = self.animateBones(context, nanims, offset, prop, filepath)
File "C:\Users\redacted\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-08339995f0b8\animation.py", line 1110, in animateBones
self.makeBoneFrame(bname, rig, bframe, tfm, n, offset, twists)
File "C:\Users\redacted\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-08339995f0b8\animation.py", line 1134, in makeBoneFrame
self.transformBone(rig, bname, tfm, n, offset, False)
File "C:\Users\redacted\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-08339995f0b8\animation.py", line 1256, in transformBone
if self.isAvailable(pb, rig):
File "C:\Users\redacted\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-08339995f0b8\animation.py", line 982, in isAvailable
for rlayer,blayer in zip(self.boneLayers, pb.bone.layers):
AttributeError: 'Bone' object has no attribute 'layers'
P.S.: Thanks to everyone working on the addon!
Comments (4)
-
-
repo owner Now I finally got around to fix this on a machine with Blender 4.
-
reporter Just tested it and things are working perfectly!
Thank you for the fast fix! -
reporter - changed status to resolved
Fixed! Tested with the same rigs I reported the issue from. Big thanks!
- Log in to comment