diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-01-21 23:03:41 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-01-21 23:03:41 +0300 |
commit | bf72c26c578df16d6d90bf4b107887e6187766f8 (patch) | |
tree | 18bad058f111fe221552f362273541dcb68e350e /source/blender/makesdna/DNA_brush_types.h | |
parent | 446ed90fd62a524e00a5ad3dcbe5600e9c0521ad (diff) |
Brought back textures for sculpt mode. These are stored in Brush DNA now, as well as the three texture modes (drag/tile/3D).
Diffstat (limited to 'source/blender/makesdna/DNA_brush_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_brush_types.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index bca5546dd80..305571b36ad 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -64,7 +64,8 @@ typedef struct Brush { float alpha; /* opacity */ short texact; /* active texture */ - char sculpt_tool, pad; /* active tool */ + char sculpt_tool; /* active tool */ + char tex_mode; } Brush; /* Brush.flag */ @@ -89,6 +90,11 @@ typedef struct Brush { #define BRUSH_BLEND_ERASE_ALPHA 6 #define BRUSH_BLEND_ADD_ALPHA 7 +/* Brush.tex_mode */ +#define BRUSH_TEX_DRAG 0 +#define BRUSH_TEX_TILE 1 +#define BRUSH_TEX_3D 2 + /* Brush.sculpt_tool */ #define SCULPT_TOOL_DRAW 1 #define SCULPT_TOOL_SMOOTH 2 |