Blender Git Loki
Git Commits -> Revision e583642
Revision e583642 by Campbell Barton (master) March 25, 2019, 08:05 (GMT) |
UI: add UILayout.prop_popover_enum function Support for RNA enum buttons that activate popovers when clicked. This means we get useful tooltips, shortcuts and Ctrl-Wheel cycling over enum items. It also avoids inconvenient & slow access of enum values currently done via RNA type lookups on the type to get the name & icon to use for a regular popover button. Resolves T57738 |
Commit Details:
Full Hash: e5836423127e4c10c2f01657ee0976d49582fd33
Parent Commit: ca0cc05
Lines Changed: +102, -7
6 Modified Paths:
/source/blender/editors/include/UI_interface.h (+7, -1) (Diff)
/source/blender/editors/interface/interface.c (+31, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+6, -5) (Diff)
/source/blender/editors/interface/interface_intern.h (+3, -0) (Diff)
/source/blender/editors/interface/interface_layout.c (+27, -0) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+28, -0) (Diff)
/source/blender/editors/interface/interface.c (+31, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+6, -5) (Diff)
/source/blender/editors/interface/interface_intern.h (+3, -0) (Diff)
/source/blender/editors/interface/interface_layout.c (+27, -0) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+28, -0) (Diff)