daz3d / DazToBlender

Daz to Blender Bridge
https://www.daz3d.com/daz-to-blender-bridge
Other
213 stars 46 forks source link

Converting daz rig to Rigify error in Blender 4.0 #186

Open totalvectors opened 10 months ago

totalvectors commented 10 months ago

Running the "To Rigify" operator in Blender generates this error in the console:

Python: Traceback (most recent call last): File "C:\Users\total\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DTB\DtbOperators.py", line 565, in execute trf.toRigify(db, self) File "C:\Users\total\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DTB\ToRigify.py", line 163, in toRigify self.omit_g8(db) File "C:\Users\total\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DTB\ToRigify.py", line 248, in omit_g8 self.to_layer(eb, 15) File "C:\Users\total\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DTB\ToRigify.py", line 281, in to_layer ebone.layers[lnum] = True AttributeError: 'EditBone' object has no attribute 'layers'

Rigify rig is created but does not seem to be parented to the mesh. This happens even on the base genesis 8 character with no morphs. Has anyone else run across such an error? Have I messed up something in my installation? Everything seems to come over fine from Daz I just can'y convert the rig to Rigify.

I know that Blender 4.0 isn't officially supported yet. Could the changes made to the rigging in 4.0 (change to bone collections) have something to do with this? Or is this an issue on Rigify's end?

BonnieBon23 commented 7 months ago

Tengo el mismo problema :,( Me estoy volviendo loca

daz-ddb commented 6 months ago

Hi @totalvectors, very sorry for the late response. You are correct that this is an issue with DazToBlender compatibility with Blender 4.0. I have created an issue to track this bug: #198 (Bug: To Rigify is not working with Blender 4.0 and above). You can refer to #198 to track the progress for the bugfix.