diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-11-07 03:10:37 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-11-07 03:10:37 +0300 |
commit | 2ef6c48a65b61a07b86b1b79c8abd578701079c7 (patch) | |
tree | 0fb95727c1efb8c973dc8f38bf7b5e74aec51f6e /source/blender/imbuf/IMB_imbuf.h | |
parent | b48c514db87d360ddfcadfcde582c0cae9344d6c (diff) |
Added two new blend modes to image painting brushes, erase alpha and
add alpha, for painting transparency in images. When using the eraser
tool of a tablet pen, the erase alpha blend mode is activated.
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf.h')
-rw-r--r-- | source/blender/imbuf/IMB_imbuf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h index 5eaac146c4e..79d2d148c19 100644 --- a/source/blender/imbuf/IMB_imbuf.h +++ b/source/blender/imbuf/IMB_imbuf.h @@ -227,6 +227,8 @@ typedef enum IMB_BlendMode { IMB_BLEND_MUL = 3, IMB_BLEND_LIGHTEN = 4, IMB_BLEND_DARKEN = 5, + IMB_BLEND_ERASE_ALPHA = 6, + IMB_BLEND_ADD_ALPHA = 7, IMB_BLEND_COPY = 1000, IMB_BLEND_COPY_RGB = 1001, |