Error when transfering shapekeys
Issue #491
resolved
Hello,
I have geografts with morphs and I want to transfer them to main mesh but I do encounter fallowing error.
NOTE: when I did imported morphs there was error when importing so I’m not sure if this is error or that just morph was incorrectly imported in the first place and now this error propagates to shapekey transfer.
Error:
Python: Traceback (most recent call last):
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-405d4cf317dd\error.py", line 247, in execute
self.run(context)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-405d4cf317dd\transfer.py", line 266, in run
failed = self.transferAllMorphs(context, src, targets)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-405d4cf317dd\transfer.py", line 285, in transferAllMorphs
if not self.transferMorphs(src, trg, context):
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-405d4cf317dd\transfer.py", line 339, in transferMorphs
cskey = self.loadMorph(filepath, trg, scn)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-405d4cf317dd\transfer.py", line 380, in loadMorph
asset = parseAssetFile(struct)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-405d4cf317dd\files.py", line 269, in parseAssetFile
return parseMorph(asset, struct)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-405d4cf317dd\modifier.py", line 77, in parseMorph
return asset.parseTypedAsset(mstruct, Morph)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-405d4cf317dd\files.py", line 235, in parseTypedAsset
asset.parse(struct)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-405d4cf317dd\modifier.py", line 648, in parse
self.deltas = morph["deltas"]["values"]
KeyError: 'values'
location: <unknown location>:-1
Best regards
Comments (2)
-
repo owner -
reporter - changed status to resolved
This issue is resolved. Thank You.
- Log in to comment
The crash should be gone now. Instead a warning message about a morph without deltas is printed in the terminal window.