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 <mano-wii>2021-08-26 19:26:31 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2021-08-26 20:21:45 +0300
commit8e5b7ac6e29ad99201fb70c6b0a02b19918c2e94 (patch)
tree0bf87003c0e1cdffb066e14e796dd714aeb057e5
parent583f6948266ba1195c40549d2c8c90f1a1c02e66 (diff)
Fix error in last commmit
-rw-r--r--source/blender/windowmanager/intern/wm_event_system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c
index b9a3dd0c3fb..1f47b152a2b 100644
--- a/source/blender/windowmanager/intern/wm_event_system.c
+++ b/source/blender/windowmanager/intern/wm_event_system.c
@@ -4357,8 +4357,8 @@ static wmWindow *wm_event_cursor_other_windows(wmWindowManager *wm, wmWindow *wi
}
}
- wmWindow *win_other;
- if (WM_window_find_under_cursor(wm, win, win, mval, &win_other, mval)) {
+ wmWindow *win_other = WM_window_find_under_cursor(wm, win, win, mval, mval);
+ if (win_other) {
event->x = mval[0];
event->y = mval[1];
return win_other;