animate1978 / MB-Lab

MB-Lab is a character creation tool for Blender 4.0 and above, based off ManuelBastioniLAB
Other
1.76k stars 308 forks source link

How to create hair on after-creation tool #381

Open Y-Ajin opened 1 year ago

Y-Ajin commented 1 year ago

image No asset can be selected

jameslanman commented 1 year ago

Seconding this as an issue. There is no explanation for how to find/download or load this asset.

Nautilusera commented 11 months ago

In this conversation on Reddit: https://www.reddit.com/r/blender/comments/w9349j/mb_lab_178_hair_tab_not_appearing/ User IDoArtForYou discovered that the icon used by the "Particle Hair" and "Hair from Selected " in the hair tab is broken. Unfortunately, they didn't share the fix. So I wrote my own fix that I shared on the Reddit page, and I rewrite here:

It's an old discussion, however as I needed this today, I think it might still serve others.
As indicated by [u/IDoArtForYou](https://www.reddit.com/u/IDoArtForYou/), the problem is that the "HAIR" icon is broken.
The solution is to edit the code and take out the icon.
To do so:

-     Find the folder containing the MB-Lab add-on. In "Edit -> Preference -> Add-ons" , search for MB-Lab, then note the location. It's a file called "__init__.py"
-     Open that file in a text editor.
-     Search for: box_asts.label(text="Hair", icon='HAIR')
-     Replace it with: box_asts.label(text="Hair")
-     In the "Edit -> Preference -> Add-ons, uncheck, then check MB-Lab.

The hair panel should appear properly.

I did a pull request but I am not certain I did it properly as I am not sure how this work. Have a good day.