diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-12 13:14:13 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-12 13:14:13 +0400 |
commit | 70eaf2fe44934da315753df30aff450333082630 (patch) | |
tree | a3dd92ddd4989a586fb64b475047fd645b148f2e /source/blender/imbuf/IMB_imbuf.h | |
parent | 698f1b56037ea9c6eec170a0f3b74b7a46eaae1d (diff) |
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.
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf.h')
-rw-r--r-- | source/blender/imbuf/IMB_imbuf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h index 7253a61092c..819026facc6 100644 --- a/source/blender/imbuf/IMB_imbuf.h +++ b/source/blender/imbuf/IMB_imbuf.h @@ -179,7 +179,7 @@ void IMB_rectclip(struct ImBuf *dbuf, struct ImBuf *sbuf, int *destx, void IMB_rectcpy(struct ImBuf *drect, struct ImBuf *srect, int destx, int desty, int srcx, int srcy, int width, int height); void IMB_rectblend(struct ImBuf *dbuf, struct ImBuf *obuf, struct ImBuf *sbuf, - unsigned short *mask, unsigned short mask_max, + unsigned short *dmask, unsigned short *smask, unsigned short mask_max, int destx, int desty, int origx, int origy, int srcx, int srcy, int width, int height, IMB_BlendMode mode); |