Fix T85107: Active tool doesn't update when mouse is already over it
This commit is contained in:
@@ -789,7 +789,7 @@ static void ui_but_update_old_active_from_new(uiBut *oldbut, uiBut *but)
|
|||||||
BLI_assert(oldbut->active);
|
BLI_assert(oldbut->active);
|
||||||
|
|
||||||
/* flags from the buttons we want to refresh, may want to add more here... */
|
/* flags from the buttons we want to refresh, may want to add more here... */
|
||||||
const int flag_copy = UI_BUT_REDALERT | UI_HAS_ICON;
|
const int flag_copy = UI_BUT_REDALERT | UI_HAS_ICON | UI_SELECT_DRAW;
|
||||||
const int drawflag_copy = 0; /* None currently. */
|
const int drawflag_copy = 0; /* None currently. */
|
||||||
|
|
||||||
/* still stuff needs to be copied */
|
/* still stuff needs to be copied */
|
||||||
|
Reference in New Issue
Block a user