Merge branch 'master' into blender2.8

This commit is contained in:
2018-06-30 09:29:38 +02:00
6 changed files with 18 additions and 24 deletions

View File

@@ -7122,10 +7122,7 @@ static void button_activate_state(bContext *C, uiBut *but, uiHandleButtonState s
/* highlight has timers for tooltips and auto open */
if (state == BUTTON_STATE_HIGHLIGHT) {
/* for list-items (that are not drawn with regular emboss), don't change selection based on hovering */
if (((but->flag & UI_BUT_LIST_ITEM) == 0) && (but->dragflag & UI_EMBOSS_NONE)) {
but->flag &= ~UI_SELECT;
}
but->flag &= ~UI_SELECT;
button_tooltip_timer_reset(C, but);