Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGermano Cavalcante <germano.costa@ig.com.br>2021-08-26 20:13:19 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2021-08-26 20:13:19 +0300
commit583f6948266ba1195c40549d2c8c90f1a1c02e66 (patch)
tree20f4341c3bbd3d5fe06a7a0c41574b2092a0a773 /source/blender/editors/interface/interface_eyedropper_intern.h
parentaadbdb80484c374f054c23502c76511be588fd77 (diff)
Fix T90817: Object Picker Doesn't Work on Second window
Solution similar to the one seen in {rBb94ab93dfb82}. The idea is to find the window and region under the cursor to use in the operator. Reviewed By: brecht Maniphest Tasks: T90817 Differential Revision: https://developer.blender.org/D12310
Diffstat (limited to 'source/blender/editors/interface/interface_eyedropper_intern.h')
-rw-r--r--source/blender/editors/interface/interface_eyedropper_intern.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_eyedropper_intern.h b/source/blender/editors/interface/interface_eyedropper_intern.h
index 2957ea337e0..4295a781af8 100644
--- a/source/blender/editors/interface/interface_eyedropper_intern.h
+++ b/source/blender/editors/interface/interface_eyedropper_intern.h
@@ -25,7 +25,8 @@
/* interface_eyedropper.c */
void eyedropper_draw_cursor_text_window(const struct wmWindow *window, const char *name);
void eyedropper_draw_cursor_text_region(const struct bContext *C,
- const struct ARegion *region,
+ const int x,
+ const int y,
const char *name);
uiBut *eyedropper_get_property_button_under_mouse(bContext *C, const wmEvent *event);
void datadropper_win_area_find(const struct bContext *C,