"Import Pose" currently broken for non-Genesis characters

Issue #1246 resolved
foobar created an issue

Importing e.g. Daz Dog 8 and trying to use “Import Pose” results in the following:

Cannot scan database because no DAZ mesh was found
Traceback (most recent call last):
File "C:\Users\*****\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\import_daz\error.py", line 213, in execute
    self.run(context)    
File "C:\Users\*****\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\import_daz\animation.py", line 1585, in run
    StandardAnimation.run(self, context)
File "C:\Users\*****\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\import_daz\animation.py", line 1272, in run
    rig, mesh, name, relpath = getCharData(context, False)
File "C:\Users\*****\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\import_daz\scan.py", line 280, in getCharData
    return rig, meshes[0], "Unknown", None
IndexError: list index out of range

This has only recently broken. Near as I can tell, the scanned morph database stuff is the culprit; Daz Dog isn’t in the fingerprint dictionary since it’s not a Genesis figure, so no mesh gets returned by getFingeredCharacters and life is terrible.

I’ve tested a few other non-Genesis rigs and they all have the same issue.

Comments (3)

  1. Log in to comment