makehumancommunity / mpfb2

MPFB2 is a free and open source human generator for Blender
http://static.makehumancommunity.org/mpfb.html
Other
317 stars 38 forks source link

Set up rigging / fit to body is enabled BUT... #134

Closed Vidyut closed 1 year ago

Vidyut commented 1 year ago

I already had my characters generated for a while, so I can't say when this started, but today when I tried to make a new character from a preset and I try to add eyes to it I get "set up rigging is enabled but no rig found" even though MPFB2 has generated the metarig moments ago or if I select the rig so MPFB2 can see it, " fit to body is selected but no mesh found or some such.

It is possible that I may be doing something wrong, but I don't remember struggling with this before. Seems to be a fairly glaring issue and nobody else seems to be reporting it, so not sure if it is just me.

joepal1976 commented 1 year ago

If this is a character that was generated a while back and which you loaded from a blend file, it is possible the character is missing a property. There was a bug in which the property was not set on generated rigs. This isn't a disaster and can be fixed afterwards.

In blender, select the rig and find the object properties -> custom properties panel:

image

If the rig does not have the "MPFB_GEN_object_type" property, then add it and set it to "Skeleton".

Having done so, it should then be possible to add clothes again.

However, I would have assumed that the property should be added when generating. Note that you need to use MPFB's generate functionality in order for this to work though, you can't manually generate the rig and expect it to retain MPFB properties. This is the panel which you need to use in order to get the MPFB properties set:

image

Vidyut commented 1 year ago

Will try it out the next time I start blender and confirm here.

Vidyut commented 1 year ago

Unhandled exception: Pose bone has no object rigify type. During creation of the human. Also the process ends in pose mode. Pretty sure it used to remain/end in object mode before.

Never mind. I'd temporarily disabled rigify and forgotten.

Now I'm getting bump map texture node has an unsaved image - I just created the skin - added no images to save. At best there should be blank images generated. Not sure what should be saved.

joepal1976 commented 1 year ago

Ok, so the rigify stuff this issue was about aren't relevant anymore? I'd suggest closing this issue then and taking the stuff that relates to MakeSkin in #129

Vidyut commented 1 year ago

The rigify complication was of my own making. I'd forgotten I disabled rigify to see if it would save without it and forgot.