Blender Git Loki

Git Commits -> Revision 7bbead1

Revision 7bbead1 by Campbell Barton (master)
April 16, 2021, 13:50 (GMT)
WM: prevent drag events being continually tested

Click-drag events that weren't handled would continually be tested
for each mouse-motion event.

As well as being redundant, this added the overhead of querying
gizmos twice per motion event.

Now click-drag is only tested once when the drag threshold is reached.

This mitigates T87511, although the single drag test still causes
the snap gizmo to flicker.

Commit Details:

Full Hash: 7bbead1e87254623deed56f588e65f524d14343b
Parent Commit: 278b197
Lines Changed: +18, -1

3 Modified Paths:

/source/blender/makesdna/DNA_windowmanager_types.h (+7, -1) (Diff)
/source/blender/windowmanager/intern/wm.c (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+10, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021