diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-01 06:12:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-01 09:12:46 +0300 |
commit | bfc70a6a958b9c35bde765ea8a02e8b1fd36db8b (patch) | |
tree | cfbea592e8434e8a670bc48f3292c039f704b313 /source/blender/gpu | |
parent | d8b35219d1e71ba4c3e16ec4a9b057aaf65e9f37 (diff) |
Fix T86116: Failure to detect click events with modifier held
Click detection logic relied on the event queue not accumulating events
as newly added events at the end of the queue adjusted
`wm->eventstate->prev{val/type}` which was then compared with events
at the front of the queue.
This made Ctrl-Click fail to detect the click as releasing Ctrl
set the previous value before the previous event was handled.
In practice this only happened in heavy scenes,
updating 10 fps or lower. It also made automated tests fail that
accumulate events before handling them.
Diffstat (limited to 'source/blender/gpu')
0 files changed, 0 insertions, 0 deletions