Blender 2.8 changes for Mhx2

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

Re: Blender 2.8 changes for Mhx2

Postby TCarp » Mon Dec 09, 2019 1:43 pm

punkduck wrote:Hi

I can check this when the code is in our own MakeHuman repository. This would hopefully happen soon. I got a similar problem in the new make clothes by applying transformations and guess it could be a similar problem, the use of "view_layer" instead of "scene" fixed my problem.

So it might be:

Code: Select all
context.view_layer.objects.active = rig


Greetings ..


Thanks for that fix, it worked.
TCarp
 
Posts: 18
Joined: Fri Feb 08, 2019 12:24 am

Re: Blender 2.8 changes for Mhx2

Postby Aranuvir » Mon Dec 09, 2019 9:51 pm

Ok, something I've missed until now :oops: . Well, sigh, the situation of mhx2 is currently not the best. And I must admit my interest was just to make it basically working. It has also become extremely slow. We must see, when we will find time rework the tool again. One of the first will be purging old 2.7 code...

BTW: punkducks suggestions look rather promising. You could try to edit these lines and see if it helps. BTW don't forget to delete the py cache files, then.
Aranuvir
 
Posts: 1273
Joined: Sun Oct 12, 2014 2:12 pm

Re: Blender 2.8 changes for Mhx2

Postby grinsegold » Tue Dec 24, 2019 4:12 pm

Would it be true to say that mhx2 isn't working at the moment? I can't even install it in blender 2.82.
grinsegold
 
Posts: 320
Joined: Mon Jun 15, 2015 1:34 pm

Re: Blender 2.8 changes for Mhx2

Postby punkduck » Tue Dec 24, 2019 8:04 pm

Hi

Well the version Aranuvir changed + my fixes and I got her in Blender 2.80 (hopefully there is not a new difference in 2.82)

done_with_280.jpg
demo with Elvaerwyn's clothes and my skis


So it also works with tri- and high polygon meshes and contains the changes I did for the old version also.

This is the version I am working with, when I use Blender 2.80:

https://github.com/makehumancommunity/mhx2-makehuman-exchange/archive/punkduck-devel.zip
User avatar
punkduck
 
Posts: 1075
Joined: Mon Oct 17, 2016 7:24 pm
Location: Nuremberg, Germany

Re: Blender 2.8 changes for Mhx2

Postby Aranuvir » Wed Dec 25, 2019 8:53 am

grinsegold wrote:Would it be true to say that mhx2 isn't working at the moment?

Simple answer: No!

BTW, as stated earlier B282 is still very alpha^. And from my experiences with B280 it does not make sense fixing things over and over again...
Aranuvir
 
Posts: 1273
Joined: Sun Oct 12, 2014 2:12 pm

Re: Blender 2.8 changes for Mhx2

Postby grinsegold » Wed Dec 25, 2019 2:39 pm

I agree. I was just wondering if i was simply too stupid again or exceptionally the software failed ;)
grinsegold
 
Posts: 320
Joined: Mon Jun 15, 2015 1:34 pm

Re: Blender 2.8 changes for Mhx2

Postby Aranuvir » Sun Dec 29, 2019 11:42 am

@Grinsegold
Out of pure curiosity I tested MHX2 with the latest Blender 2.82 build from today (hash: c2a37867f21b). I couldn't see any issues with my settings, except the fact that the import is utterly slow...
Could you recheck with a recent build running from shell and post any error messages?
Aranuvir
 
Posts: 1273
Joined: Sun Oct 12, 2014 2:12 pm

Previous

Return to MHX2 and other plugins developed outside MakeHuman

Who is online

Users browsing this forum: No registered users and 1 guest