[Bf-blender-cvs] [63cc9724026] file-browser-grid-view: Fix wrong data passed after recent changes in master

Julian Eisel noreply at git.blender.org
Thu Jul 21 17:16:39 CEST 2022


Commit: 63cc972402652c6b8b841ab0d6e69a7ea347d19b
Author: Julian Eisel
Date:   Fri May 20 12:00:16 2022 +0200
Branches: file-browser-grid-view
https://developer.blender.org/rB63cc972402652c6b8b841ab0d6e69a7ea347d19b

Fix wrong data passed after recent changes in master

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

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 caab8a0a0b4..926d1664b5e 100644
--- a/source/blender/editors/interface/interface_handlers.c
+++ b/source/blender/editors/interface/interface_handlers.c
@@ -4835,7 +4835,7 @@ static int ui_do_but_GRIDTILE(bContext *C,
       switch (event->val) {
         case KM_PRESS:
           /* Extra icons have priority, don't mess with them. */
-          if (ui_but_extra_operator_icon_mouse_over_get(but, data, event)) {
+          if (ui_but_extra_operator_icon_mouse_over_get(but, data->region, event)) {
             return WM_UI_HANDLER_BREAK;
           }
           button_activate_state(C, but, BUTTON_STATE_WAIT_DRAG);



More information about the Bf-blender-cvs mailing list