Image paint: 2D painting now supports texture masks and does masking more
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Sun, 12 May 2013 09:14:13 +0000 (09:14 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Sun, 12 May 2013 09:14:13 +0000 (09:14 +0000)
commit70eaf2fe44934da315753df30aff450333082630
treea3dd92ddd4989a586fb64b475047fd645b148f2e
parent698f1b56037ea9c6eec170a0f3b74b7a46eaae1d
Image paint: 2D painting now supports texture masks and does masking more
consistent with projection painting.

Also did some refactoring of this code, moving the brush image creation code
out of brush.c and making it consistent with image updating code.
source/blender/blenkernel/BKE_brush.h
source/blender/blenkernel/intern/brush.c
source/blender/editors/sculpt_paint/paint_image_2d.c
source/blender/editors/sculpt_paint/paint_image_proj.c
source/blender/imbuf/IMB_imbuf.h
source/blender/imbuf/intern/rectop.c
source/gameengine/VideoTexture/ImageBuff.cpp