[Bf-blender-cvs] [f1d6bad4b6f] master: Fix T51776: Make sure button icons are updated on Ctrl-ScrollWheel
Jeff Knox
noreply at git.blender.org
Thu Jul 27 12:56:24 CEST 2017
Commit: f1d6bad4b6f9f6ae429687f12ae67a175e9c183a
Author: Jeff Knox
Date: Thu Jul 27 12:55:17 2017 +0200
Branches: master
https://developer.blender.org/rBf1d6bad4b6f9f6ae429687f12ae67a175e9c183a
Fix T51776: Make sure button icons are updated on Ctrl-ScrollWheel
===================================================================
M source/blender/editors/interface/interface.c
===================================================================
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index 8ea5094998b..0dc7c6ccbec 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -684,7 +684,7 @@ static bool ui_but_update_from_old_block(const bContext *C, uiBlock *block, uiBu
if (oldbut->active) {
/* flags from the buttons we want to refresh, may want to add more here... */
- const int flag_copy = UI_BUT_REDALERT;
+ const int flag_copy = UI_BUT_REDALERT | UI_HAS_ICON;
found_active = true;
More information about the Bf-blender-cvs
mailing list