fix airbrush + tablet pressure bug.
authorCampbell Barton <ideasman42@gmail.com>
Thu, 17 Jan 2013 03:41:23 +0000 (03:41 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 17 Jan 2013 03:41:23 +0000 (03:41 +0000)
commit0f981edc990195c699eeb2c9f9544ed4eaba8b5e
treecd444d0c49f75cf434bc3a5711fd3e72974a5ca3
parent60e558393321edf4c8a41376c600981ae8636d24
fix airbrush + tablet pressure bug.

Timer events used by the airbrush would always give a pressure of 1.0, ignoring the tablets real pressure in all paint modes.

Move tablet data into its own struct-member so it can be used with timer events.
source/blender/editors/gpencil/gpencil_paint.c
source/blender/editors/sculpt_paint/paint_image.c
source/blender/editors/sculpt_paint/paint_stroke.c
source/blender/windowmanager/WM_types.h
source/blender/windowmanager/intern/wm_event_system.c
source/blender/windowmanager/wm_event_types.h