Blender Git Loki

Git Commits -> Revision d6fd036

Revision d6fd036 by Bastien Montagne (master)
October 15, 2020, 11:55 (GMT)
Fix part of T74918: 3D Viewport: Jump, when mouse crosses a window corner.

We need a separate time stamp for each axis, and we have to add a few
milliseconds of padding to those, to ensure wrapping on both axes get
properly performed when it happens almost simultaneously, and avoid
extra wrapping caused by very close events sometimes.

This only addresses the Linux (X11 backend) case.

Differential Revision: https://developer.blender.org/D9209

Commit Details:

Full Hash: d6fd03616ec2fab836610422f177d54ab3e2fd85
Parent Commit: f1aa55b
Lines Changed: +20, -11

2 Modified Paths:

/intern/ghost/intern/GHOST_SystemX11.cpp (+18, -10) (Diff)
/intern/ghost/intern/GHOST_SystemX11.h (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021