More painting fixes:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 30 Apr 2013 16:07:52 +0000 (16:07 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 30 Apr 2013 16:07:52 +0000 (16:07 +0000)
commit576e579925d205a44dd347fca3646f5c749a60a6
tree3184282505f00cb7514384d2f1b6bdfc433ede6e
parent7a0bdbc55016d287278b6818f26dc096eeb9c098
More painting fixes:

* 2D image painting with textures that contained alpha did not work correctly,
  had been broken for a while.

* 2D image panels texture (mask) panels showed wrong buttons for texture overlay.

* Texture map mode 3D now also uses masking, like Tiled and Stencil the texture
  does not move along with the brush so it works fine.

* 2D image paint View mapping did not work correct, especially noticeable with
  Rake rotation.

* Masking is now disabled for the smear tool, this can't really work because
  the original image is constantly changing and gave artifacts.
release/scripts/startup/bl_ui/space_image.py
source/blender/blenkernel/BKE_brush.h
source/blender/blenkernel/intern/brush.c
source/blender/blenlib/BLI_math_color_blend.h
source/blender/blenlib/intern/math_color_blend_inline.c
source/blender/editors/sculpt_paint/paint_image_2d.c
source/blender/editors/sculpt_paint/paint_image_proj.c