- marked as minor
- edited description
KeyError: 'bpy_prop_collection[key]: key *A key that exists* not found'
When merging rigs with Genesis 8.1 model, I get the error utils.py, line 202, setWorldMatrix, pb = ob.parent.pose.bones[ob.parent_bone]
KeyError: ‘bpy_prop_collection[key]: key “Jingle Hat.001:hat4” not found’. Don’t think it’s major ( the fix) but it is blocking merging rigs. It’s 3am, may check it out tomorrow.
full trace:
Python: Traceback (most recent call last):
File "…\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\import_daz\error.py", line 213, in execute
self.run(context)
File "…\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\import_daz\merge.py", line 1099, in run
self.mergeRigs(context, info, subinfos, repars)
File "…\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\import_daz\merge.py", line 1205, in mergeRigs
self.mergeRigs1(context, info, subinfos, repars)
File "…\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\import_daz\merge.py", line 1248, in mergeRigs1
self.reparentObjects(subinfo, rig, adds, hdadds, removes)
File "…\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\import_daz\merge.py", line 1281, in reparentObjects
setWorldMatrix(ob, wmat)
File "…\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\import_daz\utils.py", line 202, in setWorldMatrix
pb = ob.parent.pose.bones[ob.parent_bone]
KeyError: 'bpy_prop_collection[key]: key "Jingle Hat.001:hat4" not found'
I think has to do with the duplicate bones option when merging rigs, and choosing multiple rigs, I merged them one at a time with no issue, still can’t merge them all at the same time.
Comments (4)
-
reporter -
reporter - marked as trivial
-
repo owner The problem is avoided in the last commit. Merging multiple characters at once now seems to work well, at least on my test scene.
-
- changed status to resolved
- Log in to comment