* Cleanup: collapse unneeded paint 2d function to the caller. Also, new
authorAntony Riakiotakis <kalast@gmail.com>
Sun, 10 Mar 2013 02:30:53 +0000 (02:30 +0000)
committerAntony Riakiotakis <kalast@gmail.com>
Sun, 10 Mar 2013 02:30:53 +0000 (02:30 +0000)
commitcb994563509400dfcafecf4d5e7fa2e066f9e55b
treed354e85c9bed0c73ea71687848beaeacf025e6ef
parent948b92ae8c17cb2e9aeaa808702c61fe7eb41f3e
* Cleanup: collapse unneeded paint 2d function to the caller. Also, new
code now does not use painter_2d_paint at all. Made sure the approprate
variables of painter_2d are still initialized (They may be refactored to
become part of the ImagePaintState struct)

* Enable pressure control for new code path in texture paint. This revealed a bug, also present in blender 2.66: Size pressure is broken.
This was pretty interesting for me because it indicates that we could support
dynamic size in texture paint: (See anchored brushes)
source/blender/editors/sculpt_paint/paint_image.c
source/blender/editors/sculpt_paint/paint_image_2d.c
source/blender/editors/sculpt_paint/paint_image_proj.c
source/blender/editors/sculpt_paint/paint_intern.h