Convert paint stroke code to write region instead of screen coordinates
authorAntony Riakiotakis <kalast@gmail.com>
Mon, 4 Mar 2013 22:55:53 +0000 (22:55 +0000)
committerAntony Riakiotakis <kalast@gmail.com>
Mon, 4 Mar 2013 22:55:53 +0000 (22:55 +0000)
commit044955276a44b6d933bb3020faf55825fe23c8a2
tree2d8a7898ce72533430165da0bf383e43c2cd23a3
parent0d5b028d43c328f528c8aeb6738f19e442c77eba
Convert paint stroke code to write region instead of screen coordinates
on mouse event coordinates. Every paint mode operated on and converted
back to region coordinates, texture paint does so too so this will help
in unifying the systems.

ALERT! POSSIBLE BREAKING COMMIT:

I have tested all paint systems that use the stroke code and they look
like they work well but I would appreciate it if more eyes could test
this.
source/blender/editors/sculpt_paint/paint_cursor.c
source/blender/editors/sculpt_paint/paint_stroke.c
source/blender/editors/sculpt_paint/paint_vertex.c
source/blender/editors/sculpt_paint/sculpt.c