Blender Git Commit Log

Git Commits -> Revision 00b45c3

Revision 00b45c3 by Julian Eisel (modifier-panels-ui)
April 16, 2020, 19:28 (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: 00b45c3dcefd06ef6feeffc857edb0e129a4b15a
Parent Commit: 0af8fce
Lines Changed: +248, -205

3 Modified Paths:

/source/blender/editors/include/UI_interface.h (+8, -5) (Diff)
/source/blender/editors/interface/interface_templates.c (+238, -189) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+2, -11) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021