- edited description
Cant convert to MHX.
I’ve tried to convert my figure that has been imported using a bit of an older version of the Daz importer.
However even after updating to the newest Daz Importer, it still gives me errors.
I am using Genesis 3 figures.
Blender 4.0 is giving this error.
Not sure how useful this all is, because diffeo itself is not making an error report.
Uploaded the blend file incase you want to try it yourself and dig as to why it aint working. https://mega.nz/file/3CIQWZZK#ib66oK5Sy1TMN-zhEs9bcnFUHDdf93I3vrMUEh-7eso
Loading MHX RTS
MHX RTS loaded
Loading DAZ
DAZ loaded
Load settings from C:/Users/Jessy Berbers/Documents/DAZ Importer/import_daz_settings.json
{'RUNNING_MODAL'}
Read blend: "G:\Workfolder Blender etc\Tainlee's Morning_Redo\Tainlee's Room Tainlee Imported 001.blend"
{'RUNNING_MODAL'}
Rig Tainlee.002 already has extra driven bones
Rename bones
WARN (bke.object): C:\Users\blender\git\blender-v400\blender.git\source\blender\blenkernel\intern\object.cc:3057 ob_parbone: Parent Bone: 'head(drv)' for Object: 'SV-GothicAdornments.002' doesn't exist
Change constraints
Restore bone drivers
Restore sum drivers
Update scripted drivers
Update drivers
Update vertex groups
Update shapekeys
Make All Bones Posable completed in 4.8 seconds
Deactivated Blender!
Deactivated Blender!
Deactivated Blender!
Deactivated Blender!
Convert Tainlee.002 to MHX
Fix DAZ rig
Connect to parent
Rename bones
Tongue bones: ['tongue01', 'tongue02', 'tongue03', 'tongue04']
Join bend and twist bones
Fix knees
Fix hands
Store all constraints
Create bend and twist bones
Fix bone drivers
(Tainlee.002 1548)
Traceback (most recent call last):
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-46a86d4652e4\error.py", line 223, in execute
self.run(context)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-46a86d4652e4\mhx.py", line 621, in run
self.convertMhx(context)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-46a86d4652e4\mhx.py", line 700, in convertMhx
self.fixBoneDrivers(rig, rig, MHX.BoneDrivers)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-46a86d4652e4\fix.py", line 235, in fixBoneDrivers
self.changeTarget(fcu, rig.data, rig, rig0, assoc)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-46a86d4652e4\fix.py", line 264, in changeTarget
if idx >= 0:
UnboundLocalError: local variable 'idx' referenced before assignment
Error: Python: Traceback (most recent call last):
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-46a86d4652e4\error.py", line 223, in execute
self.run(context)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-46a86d4652e4\mhx.py", line 621, in run
self.convertMhx(context)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-46a86d4652e4\mhx.py", line 700, in convertMhx
self.fixBoneDrivers(rig, rig, MHX.BoneDrivers)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-46a86d4652e4\fix.py", line 235, in fixBoneDrivers
self.changeTarget(fcu, rig.data, rig, rig0, assoc)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-46a86d4652e4\fix.py", line 264, in changeTarget
if idx >= 0:
UnboundLocalError: local variable 'idx' referenced before assignment
Deactivated Blender!
Comments (5)
-
reporter -
repo owner - changed status to open
-
repo owner I’m not able to reproduce this problem, but that may be because I hadn’t loaded the same morphs as you. But I can see why the error happens, and that should be gone now.
-
reporter Thank you, it seems to work now ^^
Or atleast on the charachter i wanted it to work for it does. -
- changed status to resolved
- Log in to comment