Page MenuHome

Fix T60791: Don't show automatic weights option when not supported
ClosedPublic

Authored by Jacques Lucke (JacquesLucke) on Jan 23 2019, 2:02 PM.

Details

Summary

There are probably many more cases in which the menu looks a little different.
However, I don't know them all and it's too easy to break something accidentally here.
Maybe a user could try the different combinations of object types and check if there are entries that should not be there.

Code style: I decided to put the statement on the same line as the if again because to me that is much easier to read in this case.
To me, the amount of lines a code segment has should somewhat proportional to the amount of things happening there.
I'll change it, if you think I should do so.

Diff Detail

Repository
rB Blender

Event Timeline

Just follow the code style and split the lines. Soon it will be automated with clang-format and the same thing will happen, it does not make a distinction.

This revision is now accepted and ready to land.Jan 23 2019, 2:33 PM
This revision was automatically updated to reflect the committed changes.