Blender Git Commit Log

Git Commits -> Revision f507428

Revision f507428 by Brecht Van Lommel (master)
June 23, 2010, 18:47 (GMT)
Fix #22553: dragging number buttons would run update functions more often than
necessary due to the more accurate mouse move events that are useful for
sculpting and painting (at least on Linux/X11, not sure about other platforms).
If the update function takes a while to run, this in turn causes more mouse
move events to be accumulated, making things even slower, .. going into a spiral
of slower and slower redraws.

As a solution I've added a INBETWEEN_MOUSEMOVE event next to MOUSEMOVE. A
MOUSEMOVE event is automatically changed to INBETWEEN_MOUSEMOVE when a
MOUSEMOVE event is added after it. This new event type is only handled by
painting/sculpting operators, everything else can happily ignore it.

Commit Details:

Full Hash: f507428d1189b48ba66a4a7826cd5db178b383a1
SVN Revision: 29660
Parent Commit: 5b9059e
Lines Changed: +13, -2

6 Modified Paths:

/source/blender/editors/gpencil/gpencil_paint.c (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+8, -1) (Diff)
/source/blender/windowmanager/wm_event_types.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021