Commit: 69ca12c45c8dfede5b6d088cfe22811fa345d4c2
Author: Campbell Barton
Date:   Sat Apr 28 12:19:42 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB69ca12c45c8dfede5b6d088cfe22811fa345d4c2

Revert "UI: don't highlight number button while dragging"

This reverts commit bb513b173e9bb6f1c0db6af66a548ef4883fa0f3.

Broke click events.

===================================================================

M       source/blender/editors/interface/interface_handlers.c

===================================================================

diff --git a/source/blender/editors/interface/interface_handlers.c 
b/source/blender/editors/interface/interface_handlers.c
index 9245fa2007d..c08c981b77a 100644
--- a/source/blender/editors/interface/interface_handlers.c
+++ b/source/blender/editors/interface/interface_handlers.c
@@ -4171,7 +4171,7 @@ static void ui_numedit_set_active(uiBut *but)
        but->drawflag &= ~(UI_BUT_ACTIVE_LEFT | UI_BUT_ACTIVE_RIGHT);
 
        uiHandleButtonData *data = but->active;
-       if (!data || (data->state == BUTTON_STATE_NUM_EDITING)) {
+       if (!data) {
                return;
        }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to