Make all bones poseable gives error in stable version 1.6.0
Hi Thomas, as always thanks for your great work with this addon, but I have encountered some errors before trying to finish my work with a scene and a character, recreating everything and importing everything from this version from scratch.
I am using your latest stable version and official release for now, from here : http://diffeomorphic.blogspot.com/2021/08/daz-importer-160-released.html
(import_daz_mhx_rts_v1_6_0.zip) ver (1.6.0.0559)
I'm using Blender version 2.93.4 and Daz's latest version, the step to reproduce the bug is simple, ;
1- I have imported a character from Genesis 8 F, with 2 geografts, Breastacular and Golden Palace as tests.
2- I have imported the basic morphs to the main character, Flexions, JCM’s, Facs All, Face Units, and then, Custom Morphs, a list of random morphs of body shapes in one category , and then another list in another category.
3- I have transferred the JCM's to the geografts first, after that, I transfer the morphs of body shapes.
4- After this, I have joined all the armatures, and then, I have joined the geografts to the main body.
5- And finally by clicking on Make All Bones Poseable gave error ;
Python: Traceback (most recent call last):
File "C:\Users\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\import_daz\error.py", line 208, in execute
self.run(context)
File "C:\Users\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\import_daz\figure.py", line 466, in run
self.addExtraBones(rig)
File "C:\Users\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\import_daz\figure.py", line 719, in addExtraBones
self.updateScriptedDrivers(rig.data)
File "C:\Users\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\import_daz\figure.py", line 581, in updateScriptedDrivers
vtargets,btargets = self.getVarBoneTargets(fcu)
File "C:\Users\Roaming\Blender Foundation\Blender\2.93\scripts\addons\import_daz\driver.py", line 162, in getVarBoneTargets
vtargets.sort()
TypeError: '<' not supported between instances of 'DriverVariable' and 'DriverVariable'
location: <unknown location>:-1
I have also noticed, that with your latest version, I think this doesn't happen, but for now I don't want to use it, since I saw that it broke some of my old scenes, built on the basis of the versions 1.5 versions.
Comments (3)
-
repo owner -
reporter Many thanks for the quick fix Thomas, works great and fixed the problem, I just checked, impressive as always! thanks again.
Cheers.
-
reporter - changed status to resolved
- Log in to comment
Yes, I remember how that was fixed. The bug was very localized, so I replaced the code in version 1.6.0 with the new code. This should work, I think, but I haven’t tested so I cannot tell for sure.
You can download the updated version 1.6.0 from https://bitbucket.org/Diffeomorphic/import_daz/downloads/?tab=branches.