error importing moho, missing visemes G8

Issue #162 closed
Noname created an issue

Steps to reproduce:

  1. Updated to latest revision
  2. in Dez export to DBZ (standard)
  3. in Blender import
  4. import Visemes (noticed that there is less option then it was before - in older versions)
  5. load Moho

Error:

Traceback (most recent call last):
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\Diffeomorphic-import_daz-b188e28ea2ec\error.py", line 247, in execute
    self.run(context)
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\Diffeomorphic-import_daz-b188e28ea2ec\morphing.py", line 1857, in run
    loadMoho(context, self.filepath, 1.0)
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\Diffeomorphic-import_daz-b188e28ea2ec\morphing.py", line 1835, in loadMoho
    clearMorphs(rig, "Visemes", "DzV", scn, frame, True)
TypeError: clearMorphs() takes 5 positional arguments but 6 were given

location: <unknown location>:-1

reproduced in both 2.90.0 and 2.83.4 exactly same error (obviously).

Comments (4)

  1. engetudouiti

    in morphing.py line 1834 to 1836

            if words[1] == "rest":
                #clearMorphs(rig, "Visemes", "DzV", scn, frame, True)
                clearMorphs(rig, "Visemes", scn, frame, True)
    

    then almost same reason, in line 1842

                #pinProp(rig, scn, key, "Visemes", "DzV", frame)
                pinProp(rig, scn, key, "Visemes", frame)
    

    may need.

    prefix arguments seems remain when up-date morph system to use morphsets name.

  2. Log in to comment