Blender Git Commit Log

Git Commits -> Revision ff57ce8

Revision ff57ce8 by Julian Eisel (master)
October 8, 2021, 14:31 (GMT)
UI: Support showing superimposed icons as disabled (with disabled hint)

If the operator poll of a superimposed icon returned `false`, the
superimposed icon would just draw normally and fail silently. Instead it
will now be drawn grayed out, plus the tooltip of the icon can show the
usual "disabled hint" (a hint explaining why the button is disabled).

Commit Details:

Full Hash: ff57ce86170d2e440d2e0566bf3c4a74bb745b32
Parent Commit: 38c4888
Lines Changed: +32, -9

4 Modified Paths:

/source/blender/editors/interface/interface.c (+19, -4) (Diff)
/source/blender/editors/interface/interface_intern.h (+4, -0) (Diff)
/source/blender/editors/interface/interface_region_tooltip.c (+5, -4) (Diff)
/source/blender/editors/interface/interface_widgets.c (+4, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021