Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2010-01-20 11:30:40 +0300
committerMatt Ebb <matt@mke3.net>2010-01-20 11:30:40 +0300
commit02ca0fda8ea86c5b5b05b8d1ef6cc81e8f280523 (patch)
tree37fc44b7dab5951dbaa6c45899be99178df6b210 /source/blender/makesdna/DNA_brush_types.h
parente8b123a1e46270de28c00d87dba8fd4c1ca2a416 (diff)
Moved the image paint tool and the vertex/weight paint tool (blend mode?)
to the Brush data. This now works the same way as sculpt, with named preset brushes that retain settings.
Diffstat (limited to 'source/blender/makesdna/DNA_brush_types.h')
-rw-r--r--source/blender/makesdna/DNA_brush_types.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h
index 4738b0d81e8..45ace37866b 100644
--- a/source/blender/makesdna/DNA_brush_types.h
+++ b/source/blender/makesdna/DNA_brush_types.h
@@ -65,8 +65,10 @@ typedef struct Brush {
float rgb[3]; /* color */
float alpha; /* opacity */
- char sculpt_tool; /* active tool */
- char pad2[3];
+ char sculpt_tool; /* active sculpt tool */
+ char vertexpaint_tool; /* active vertex/weight paint tool/blend mode */
+ char imagepaint_tool; /* active image paint tool */
+ char pad2;
} Brush;
/* Brush.flag */