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:
Diffstat (limited to 'source/blender/makesdna/DNA_brush_types.h')
-rw-r--r--source/blender/makesdna/DNA_brush_types.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h
index 4e4c769f396..298a794500c 100644
--- a/source/blender/makesdna/DNA_brush_types.h
+++ b/source/blender/makesdna/DNA_brush_types.h
@@ -102,6 +102,9 @@ typedef struct Brush {
char vertexpaint_tool; /* active vertex/weight paint blend mode (poorly named) */
char imagepaint_tool; /* active image paint tool */
char mask_tool; /* enum BrushMaskTool, only used if sculpt_tool is SCULPT_TOOL_MASK */
+ char hair_tool; /* active hair tool */
+ char pad2[3];
+ int pad3;
float autosmooth_factor;
@@ -299,6 +302,16 @@ typedef enum BrushImagePaintTool {
PAINT_TOOL_MASK = 5
} BrushImagePaintTool;
+typedef enum BrushHairTool {
+ HAIR_TOOL_COMB = 1,
+ HAIR_TOOL_CUT = 2,
+ HAIR_TOOL_LENGTH = 3,
+ HAIR_TOOL_PUFF = 4,
+ HAIR_TOOL_ADD = 5,
+ HAIR_TOOL_SMOOTH = 6,
+ HAIR_TOOL_WEIGHT = 7,
+} BrushHairTool;
+
/* direction that the brush displaces along */
enum {
SCULPT_DISP_DIR_AREA = 0,