Blender Git Commit Log

Git Commits -> Revision 6942dd9

Revision 6942dd9 by Hans Goudey (master)
December 18, 2020, 23:13 (GMT)
Fix T83868: Button animation states no longer visible without emboss

This bug was caused by making it so that non-embossed modifier icon
buttons could become an operator button and retain their red highlight
for disabled modifiers. The icon button needs emboss turned off, but
in earlier versions of Blender, `UI_EMBOSS_NONE` would be overridden
by animation or red alert states.

Instead of abusing "NONE" to mean "none unless there is animation or
red alert", this commit adds a new emboss flag for that situation,
`UI_EMBOSS_NONE_OR_STATUS`, which uses no emboss unless there is an
animation state, or another status. There are only a few situations
where this is necessary, so the change isn't too big.

Differential Revision: https://developer.blender.org/D9902

Commit Details:

Full Hash: 6942dd9f49003ead61f9a0e52b398ebc74a5e3cb
Parent Commit: 002722b
Lines Changed: +30, -12

7 Modified Paths:

/release/scripts/startup/bl_ui/properties_data_mesh.py (+3, -2) (Diff)
/source/blender/editors/include/UI_interface.h (+5, -0) (Diff)
/source/blender/editors/interface/interface_templates.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_widgets.c (+12, -5) (Diff)
/source/blender/editors/space_nla/nla_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_draw.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_ui.c (+5, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021