Page 1 of 1

Makehuman and Blender 2.8 problem

PostPosted: Mon Aug 05, 2019 7:36 pm
by hornblower
Hi.
I'm exporting my makehuman rig for mocap in Blender and when applying makewalk I get this error

Traceback (most recent call last):
File "C:\Users\myUser\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-makewalk-477bc620c069\retarget.py", line 555, in execute
loadRetargetSimplify(context, self.properties.filepath)
File "C:\Users\myUser\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-makewalk-477bc620c069\retarget.py", line 480, in loadRetargetSimplify
srcRig = load.readBvhFile(context, filepath, scn, False)
File "C:\Users\myUser\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\Diffeomorphic-makewalk-477bc620c069\load.py", line 172, in readBvhFile
context.scene.update()
AttributeError: 'Scene' object has no attribute 'update'

location: <unknown location>:-1

I tried different kind of rigs when importing into Blender but I never can make it work.... I downloaded all the plugins needed for Blender 2.80 linked in http://www.makehumancommunity.org/content/plugins.html but no luck ... any idea?

Thanks in advance

Re: Makehuman and Blender 2.8 problem

PostPosted: Mon Aug 05, 2019 8:13 pm
by loki1950
Makewalk has not been updated to work with 2.8 period so your error is not surprising we will be working on it for sure but mhx2 got the resources first that no one completely understands the retarget code is just an other complication.

Enjoy the Choice :)

Re: Makehuman and Blender 2.8 problem

PostPosted: Mon Aug 05, 2019 8:16 pm
by hornblower
Thanks, loki... at least I know I must stop trying :)

Re: Makehuman and Blender 2.8 problem

PostPosted: Mon Aug 05, 2019 8:23 pm
by Aranuvir
[...]any idea?

Replace context.scene.update() by context.view_layer.update(). Don't forget to purge the pyc files. Unfortunately it seems to have some further glitches...

Re: Makehuman and Blender 2.8 problem

PostPosted: Tue Aug 06, 2019 11:14 am
by ecke101
Aranuvir wrote:
[...]any idea?

Replace context.scene.update() by context.view_layer.update(). Don't forget to purge the pyc files. Unfortunately it seems to have some further glitches...

When I ported the old maketarget to work with 2.80 there were loads and loads of changes. Here's a good list:
https://blenderartists.org/t/2-80-cheat ... ns/1148974

Re: Makehuman and Blender 2.8 problem

PostPosted: Tue Aug 06, 2019 5:50 pm
by Aranuvir
Hi ecke101,

thanks for your tips. We are aware of those changes. Current issues I found, were (probably) not related to API changes. Doing a quick retarget test, the model had crossed legs...
If you want to help fixing bugs, checkout the Bitbucket repo and make pull requests: https://bitbucket.org/Aranuvir/makewalk/src/default/