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/makesdna/DNA_brush_types.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/makesdna/DNA_brush_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_brush_types.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index 40347c9834f..1c272105067 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -73,12 +73,14 @@ typedef struct Brush { #define BRUSH_FIXED_TEX 64 /* Brush.blend */ -#define BRUSH_BLEND_MIX 0 -#define BRUSH_BLEND_ADD 1 -#define BRUSH_BLEND_SUB 2 -#define BRUSH_BLEND_MUL 3 -#define BRUSH_BLEND_LIGHTEN 4 -#define BRUSH_BLEND_DARKEN 5 +#define BRUSH_BLEND_MIX 0 +#define BRUSH_BLEND_ADD 1 +#define BRUSH_BLEND_SUB 2 +#define BRUSH_BLEND_MUL 3 +#define BRUSH_BLEND_LIGHTEN 4 +#define BRUSH_BLEND_DARKEN 5 +#define BRUSH_BLEND_ERASE_ALPHA 6 +#define BRUSH_BLEND_ADD_ALPHA 7 #define PAINT_TOOL_DRAW 0 #define PAINT_TOOL_SOFTEN 1 |