Make Bones Posable pre-convert to MHX makes toes not function

Issue #689 resolved
AB created an issue

Previously, I had never used the Make All Bones Posable feature.

Imported a genesis 8 figure into Blender, with a geograft via Easy import - Rigs all merged already
Imported the standard Face Units, expressions Vismes and FACS
Made all bones posable prior to merging geografts.

Gave me the following error

Python: Traceback (most recent call last):
File "C:\Users....\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-21653af8d271\error.py", line 208, in execute
self.run(context)
File "C:\Users....\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-21653af8d271\figure.py", line 466, in run
self.addExtraBones(rig)
File "C:\Users....\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-21653af8d271\figure.py", line 719, in addExtraBones
self.updateScriptedDrivers(rig.data)
File "C:\Users....\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-21653af8d271\figure.py", line 581, in updateScriptedDrivers
vtargets,btargets = self.getVarBoneTargets(fcu)
File "C:\Users....\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-21653af8d271\driver.py", line 162, in getVarBoneTargets
vtargets.sort()
TypeError: '<' not supported between instances of 'DriverVariable' and 'DriverVariable'

location: <unknown location>:-1

Result: Toes are incorrectly rigged and become distorted on movement/disable stretching

EDIT: Tried several times to replicate it and I can confidently say that using Make All Bones Posable then subsequently disabling stretching in the MHX panel results in the distortion

Comments (8)

  1. Thomas Larsson repo owner

    I’m not able to reproduce neither the error nor the toe distortion. However, the error should be eliminated now. Perhaps the toes will be ok too.

  2. AB reporter

    Easy Import DAZ
    Imported with the following settings
    Make all bones Posable
    Merge Geograft
    Convert Rig to MHX
    Toggle Stretchiness

    This is the exact steps I used to duplicate the bug

    Tried with new version, but still happening. Am using custom char, if that affects things

    Retried again without body morphs and bug disappeared.

    Have tried multiple times regarding how to reproduce the bug. It’s all due to something in Body Morphs. Every other morph works well enough, but I’ve not been able to isolate which morph it is that is giving the problem, nor can I tell what exactly goes wrong. Is there a way to attach the blend file but only include the mesh? Because the textures are rather large

  3. Thomas Larsson repo owner

    OK, now I see it too. Fix in last commits. The mhx_rts commit is the important one.

  4. Log in to comment