animate1978 / MB-Lab

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

Addressed issue with wrong menu drawing (issue #173) #176

Closed mklemarczyk closed 4 years ago

mklemarczyk commented 4 years ago

Corrected menu drawing in MB-Lab toolbox. Issue #173. All menus have named variable corresponding to the content. It will solve problem with disabling wrong menu and drawing top level buttons inside subsection panel.

I described variables as best I could. My intention was not to invent extremely long names, but to introduce some in order to identify what is the menu and what should be expected content. Using the same variable name is not reducing memory usage, it is making code more complex and hard to understand. It is much easier to introduce bugs, since developer need to remember what is last assignment. I hope this fix will improve maintainability of the add-on.

mklemarczyk commented 4 years ago

Branch introduced bug after wrong merge with feature Humanoid Rotations. I'm working on it.

Problem solved in PR #178