Blender Git Commit Log

Git Commits -> Revision 2264375

April 14, 2020, 12:39 (GMT)
Don't use split layout for operator properties if all are checkboxes

Having a split layout looks broken if all items are checkboxes and there
is no heading text, because it only uses half the width then.
So this checks if all visible properties are booleans and if so,
disables the split layout. A bit hacky but this should generally work.
If needed we can add more control in future (e.g. default layout hints
for operators).

Commit Details:

Full Hash: 2264375c77de18f13f165fcd4bc1cf6e3774ea59
Parent Commit: a940f4e
Lines Changed: +248, -205

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021