diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-28 10:52:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-28 10:53:03 +0300 |
commit | 78f7377c88b2b6f59fc3a0212d2b92f461cf5361 (patch) | |
tree | f7ce03bd5634baf3c44f16ebc168377b39a09b22 /source/blender | |
parent | 9509e18564452c1f95a8967accbb1aeb6094d222 (diff) |
Fix T85107: Active tool doesn't update when mouse is already over it
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/interface/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index 5928a622298..7340a373573 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -789,7 +789,7 @@ static void ui_but_update_old_active_from_new(uiBut *oldbut, uiBut *but) BLI_assert(oldbut->active); /* 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. */ /* still stuff needs to be copied */ |