Trouble with Retarget BVH

Discussions about MHX2 and other plugins that are developed outside the scope of MakeHuman. Note that bug reports should go to the respective code projects and might go unseen here.

Moderator: joepal

Trouble with Retarget BVH

Postby tomcat » Sat Jul 30, 2022 8:59 am

In Blender 2.93 it gives an error when trying to assign animation from Bandai-Namco-Research-Motiondataset:

retarget-bvh_err_b2_93_Bandai-Namco.jpg
retarget-bvh_err_b2_93_Bandai-Namco.jpg (18.47 KiB) Viewed 657 times


In the new version of Blender 3.2.1, the plugin, most unfortunately, just doesn't work:

Code: Select all
Python: [ERROR] mpfb.init ..............................: Unhandled crash
  File "C:\Users\Acer\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\retarget-bvh-master\utils.py", line 356, in execute
    self.run(context)
  File "C:\Users\Acer\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\retarget-bvh-master\retarget.py", line 552, in run
    info = self.retarget(context, filepath)
  File "C:\Users\Acer\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\retarget-bvh-master\retarget.py", line 577, in retarget
    info = self.retargetAnimation(context, srcRig, trgRig)
  File "C:\Users\Acer\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\retarget-bvh-master\retarget.py", line 331, in retargetAnimation
    scn.frame_current = frames[0]

bpy_struct: item.attr = val: Scene.frame_current expected an int type, not float

Traceback (most recent call last):
  File "C:\Users\Acer\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\retarget-bvh-master\utils.py", line 356, in execute
    self.run(context)
  File "C:\Users\Acer\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\retarget-bvh-master\retarget.py", line 552, in run
    info = self.retarget(context, filepath)
  File "C:\Users\Acer\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\retarget-bvh-master\retarget.py", line 577, in retarget
    info = self.retargetAnimation(context, srcRig, trgRig)
  File "C:\Users\Acer\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\retarget-bvh-master\retarget.py", line 331, in retargetAnimation
    scn.frame_current = frames[0]
TypeError: bpy_struct: item.attr = val: Scene.frame_current expected an int type, not float

Image
Foreigners' reactions to Russian "Bird's Milk" candies
— Are birds being milked there?
— In Russia everyone is milked. Here even zucchinis lay caviar…
User avatar
tomcat
 
Posts: 174
Joined: Sun Sep 27, 2015 7:53 pm
Location: Moscow (Orcish Stan), Evil Empire

Return to MHX2 and other plugins developed outside MakeHuman

Who is online

Users browsing this forum: No registered users and 1 guest