Blender Git Commit Log
Git Commits -> Revision 1638af1
Revision 1638af1 by Campbell Barton (master) March 1, 2021, 01:00 (GMT) |
WM: don't set event prevval/prevtype on cursor motion Currently the intended behavior regarding prevval/prevtype isn't handled consistently. However, including cursor motion causes events in `wm->queue` and `wm->eventstate` to behave differently, where `wm->eventstate` ignores motion (necessary for click detection). This makes checks from `wm->eventstate` to events in the queue fail. This reverts 39919e35326c732141bfd2d740b19000b6bc1d51, using the `event.type` instead of it's previous type. This works as it includes mouse button release events. |
Commit Details:
Full Hash: 1638af109e46522a1a24645289016922bb9ca977
Parent Commit: fc08fe8
Lines Changed: +2, -5