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

does not work for blender 4.0 #398

Closed bharatbhatt762 closed 3 months ago

bharatbhatt762 commented 4 months ago

Screenshot (161) Body Measures drop down gives error after character is made .Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior options for body parts as ears, eyes etc do not appear ( Screenshot (161) which should appear)

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

Logs To format it correctly, logs should go in between these: Replace the text here with your logs. To turn on the console in Blender 2.80 go to Window>Toggle System Console.

thecuriousorange commented 4 months ago

I encountered this issue, I believe it just needs 2 lines of code changing in object_ops.py. I extracted the file from the MB-Lab-master.zip, opened the file in a soucecode editor (although you could use notepad or similar), searched for np.bool and replaced it with bool. there were 2 instances of it. I then put the file back into the MB-Lab-master.zip file and overwrote the original. removed the installed addon version, and installed from the fixed version.

here is a gist: https://gist.github.com/thecuriousorange/a823e3eb952fd90fb11c1375eb261213 of what I did