diff options
author | Campbell Barton <campbell@blender.org> | 2022-05-17 10:19:30 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-05-17 10:49:40 +0300 |
commit | a4ed0f51c1560436a4e4f9b9dcd7cb048b4b2397 (patch) | |
tree | 423cf35b10ab983bf394ef95137d8a990dac05a2 /tests | |
parent | f4ff36431ccfac2f0a99fc23c18fe0d9de38b36d (diff) |
Fix click detection for simulated events
Refactoring event click-drag detection broke click detection for
simulated events. Resolve this by sharing logic for update previous
values in `wmWindow.eventstate` for regular event handling
(no functional changes for non-simulated events). Failure to detect
clicks for simulated events broke the undo test
`test_undo.view3d_multi_mode_select` in `../lib/tests/ui_simulate/run.py`.
All undo tests now pass.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions