Major issue with easy import D a z

Issue #2365 closed
Joe Morris @ FAST Animation Studio Toolz created an issue

This happens using the button on your panel with face units expressions vizims body and all three FACS checked otherwise everything's default

Load Body to Genesis 8 Female Eyelashes Mesh (0 morphs)
Body loaded in 0.5 seconds
Info: Import Standard Morphs finished
Transfer from Xue Mesh to HD meshes
Merge materials
Info: Merge Materials finished
Transfer to clothes
Transfer morphs Xue Mesh => Hotel Staff Cap Mesh
0 0 0 0
Transfer morphs Xue Mesh => Hotel Staff Skirt Mesh
0 0 0 0
Morphs transferred in 1.2 seconds
Info: Transfer Shapekeys finished
Transfer to face meshes
Transfer morphs Xue Mesh => Genesis 8 Female Eyelashes Mesh

  • 0 0 0 0 + + + + + + + + + * * + + + + 0 0 + + + + + + + + 0 0 0 0 0 0 - 0 0 0 0 0 - 0 0 0 0 - - 0 0 - - 0 + + 0 0 0 0 0 - - 0 0 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 0 0 0 0 - - - - - 0 0 - 0 0 0 0 0 0 0 0
    Transfer morphs Xue Mesh => Hotel Staff Jacket Mesh
    0 0 0 0 0 0Traceback (most recent call last):
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\import_daz\error.py", line 202, in execute
    self.run(context)
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\import_daz\transfer.py", line 226, in run
    failed = self.transferAllMorphs(context, src, targets)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\import_daz\transfer.py", line 254, in transferAllMorphs
    if not self.transferMorphs(snames, src, trg, srcboxes, context):
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\import_daz\transfer.py", line 348, in transferMorphs
    rigid = self.correctForRigidity(trg, cskey, rigidity_groups, rigidity_table)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\import_daz\transfer.py", line 518, in correctForRigidity
    if ob.name in dazRna(rig.data).DazRigidityScaleFactors:
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: 'Armature' object has no attribute 'DazRigidityScaleFactors'
    Error: Python: Traceback (most recent call last):
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\import_daz\error.py", line 202, in execute
    self.run(context)
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\import_daz\transfer.py", line 226, in run
    failed = self.transferAllMorphs(context, src, targets)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\import_daz\transfer.py", line 254, in transferAllMorphs
    if not self.transferMorphs(snames, src, trg, srcboxes, context):
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\import_daz\transfer.py", line 348, in transferMorphs
    rigid = self.correctForRigidity(trg, cskey, rigidity_groups, rigidity_table)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Traceback (most recent call last):
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\import_daz\error.py", line 202, in execute
    self.run(context)
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\import_daz\main.py", line 713, in run
    self.easyImport(context)
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\import_daz\main.py", line 746, in easyImport
    self.treatRig(context, rigname)
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\import_daz\main.py", line 1019, in treatRig
    self.transferShapes(context, firstMesh, lashes, True, "All")
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\import_daz\main.py", line 1099, in transferShapes
    transferShapesToMeshes(context, ob, meshes, snames,
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\import_daz\morphing.py", line 708, in transferShapesToMeshes
    bpy.ops.daz.transfer_shapekeys(
    File "C:\Program Files\Blender Foundation\Blender 4.3\4.3\scripts\modules\bpy\ops.py", line 109, in call
    ret = _op_call(self.idname_py(), kw)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    RuntimeError: Error: Python: Traceback (most recent call last):
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\import_daz\error.py", line 202, in execute
    self.run(context)
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\import_daz\transfer.py", line 226, in run
    failed = self.transferAllMorphs(context, src, targets)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\import_daz\transfer.py", line 254, in transferAllMorphs
    if not self.transferMorphs(snames, src, trg, srcboxes, context):
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\import_daz\transfer.py", line 348, in transferMorphs
    rigid = self.correctForRigidity(trg, cskey, rigidity_groups, rigidity_table)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\import_daz\transfer.py", line 518, in correctForRigidity
    if ob.name in dazRna(rig.data).DazRigidityScaleFactors:
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: 'Armature' object has no attribute 'DazRigidityScaleFactors'
    Location: C:\Program Files\Blender Foundation\Blender 4.3\4.3\scripts\modules\bpy\ops.py:109

... truncated
Writing userprefs: "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\config\userpref.blend" ok

Writing userprefs: "C:\Users\W\AppData\Roaming\Blender Foundation\Blender\4.3\config\userpref.blend" ok

Comments (6)

  1. Thomas Larsson repo owner

    I have recently changed how custom properties work as explained in Custom Properties Cleanup, and I may have published an intermediate commit too early., Sorry about that. There might still be bugs, but most things shoudl work now, including the bug you reported.

  2. Joe Morris @ FAST Animation Studio Toolz reporter

    I appreciate you letting me know that I just checked out your stable version and it appears that you're uploading stable versions more often so I just downloaded version 4.3 .0 and figured I would just use the stable version to provide your API instead I figured that was more logical… And that way I don't have to send as many bug reports but if you can let me know if it helps your process me sending these because I can go back to the development version and then just write a functionality that defaults to the stable if there's any issues that shouldn't be that hard. And by using the stable version I'll be testing that so I guess either way is helping

  3. Thomas Larsson repo owner

    My goal is to make new stable versions at the same pace as Blender, since new Blender versions usually lead to some api changes that must be dealt with anyway.

  4. Joe Morris @ FAST Animation Studio Toolz reporter

    Thank you very much for doing that. I appreciate the idea about the consolidation of seeing properties. I'll make sure to do that for my own add-on soon.

  5. Log in to comment