More image painting fixes:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 30 Apr 2013 06:07:42 +0000 (06:07 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 30 Apr 2013 06:07:42 +0000 (06:07 +0000)
commit63f05576b840c597f91414fd2ca6db8ca869e3e9
treee6d0bbd3dc57e67a0799a5fc066e72c8f630abc7
parentb735402c19782402e4a9970280cd3a3c8457296f
More image painting fixes:

* 2D image painting support for masking to limit the max contribution of a stroke
  to a pixel, to get it working compatible with projection painting. Not strictly
  a bugfix, but the inconsistency here was annoying.

* Fix python errors in Texture Mask panel in image editor, was missing overlay
  options.

* Clamp paint mask to 0..1 in case some texture exceeds it, this could give black
  pixels due to integer overflow.
release/scripts/startup/bl_ui/space_image.py
source/blender/blenkernel/BKE_brush.h
source/blender/blenkernel/intern/brush.c
source/blender/blenlib/intern/math_color_blend_inline.c
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
source/blender/imbuf/IMB_imbuf.h
source/blender/imbuf/intern/rectop.c
source/gameengine/VideoTexture/ImageBuff.cpp