[Bf-blender-cvs] [78f7377c88b] blender-v2.92-release: Fix T85107: Active tool doesn't update when mouse is already over it
Campbell Barton
noreply at git.blender.org
Thu Jan 28 08:54:37 CET 2021
Commit: 78f7377c88b2b6f59fc3a0212d2b92f461cf5361
Author: Campbell Barton
Date: Thu Jan 28 18:52:04 2021 +1100
Branches: blender-v2.92-release
https://developer.blender.org/rB78f7377c88b2b6f59fc3a0212d2b92f461cf5361
Fix T85107: Active tool doesn't update when mouse is already over it
===================================================================
M source/blender/editors/interface/interface.c
===================================================================
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 */
More information about the Bf-blender-cvs
mailing list