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:
authorCampbell Barton <ideasman42@gmail.com>2021-02-27 14:05:01 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-27 14:05:01 +0300
commite3c11b36dae03c783234ca528fbcf7a85d346df3 (patch)
tree2fe989ae2bab53403e7072a57068efe98b6ae688 /source/blender/makesrna/intern/rna_wm_api.c
parent9cfb320208b655a1d7f177f038179b87d98fb066 (diff)
Fix error converting simulated events press/release to clicks
Move logic that sets previous event state into WM_event_add_simulate.
Diffstat (limited to 'source/blender/makesrna/intern/rna_wm_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_wm_api.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/makesrna/intern/rna_wm_api.c b/source/blender/makesrna/intern/rna_wm_api.c
index 6b96562b3f8..cb20b480ee5 100644
--- a/source/blender/makesrna/intern/rna_wm_api.c
+++ b/source/blender/makesrna/intern/rna_wm_api.c
@@ -647,11 +647,6 @@ static wmEvent *rna_Window_event_add_simulate(wmWindow *win,
e.alt = alt;
e.oskey = oskey;
- e.prevx = win->eventstate->x;
- e.prevy = win->eventstate->y;
- e.prevval = win->eventstate->val;
- e.prevtype = win->eventstate->type;
-
e.ascii = '\0';
e.utf8_buf[0] = '\0';
if (unicode != NULL) {