diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2019-09-06 22:55:32 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2019-09-09 16:12:15 +0300 |
commit | 70991bfd94a0510c674678c7b49711157ab02c42 (patch) | |
tree | 85cec1eb2fb71b9c2d04d96077a11ac664d92467 /source/blender/makesdna/DNA_brush_types.h | |
parent | 056bb7721e5d03aa03b1893cf62f30fe975c0d03 (diff) |
Sculpt: Draw Sharp Brush
This brush is similar to the draw brush but it deforms the mesh from the original coordinates. When used with the sharper curve presets it has a much more pleasant crease/cut behavior than any of the other brushes. This is useful for creating cloth wrinkles, stylized hair or hard surface edges.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D5530
Diffstat (limited to 'source/blender/makesdna/DNA_brush_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_brush_types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index bae9c8f40ea..747c7cfb842 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -453,6 +453,7 @@ typedef enum eBrushSculptTool { SCULPT_TOOL_BLOB = 17, SCULPT_TOOL_CLAY_STRIPS = 18, SCULPT_TOOL_MASK = 19, + SCULPT_TOOL_DRAW_SHARP = 20, } eBrushSculptTool; /* Brush.uv_sculpt_tool */ @@ -466,6 +467,7 @@ typedef enum eBrushUVSculptTool { #define SCULPT_TOOL_HAS_ACCUMULATE(t) \ ELEM(t, \ SCULPT_TOOL_DRAW, \ + SCULPT_TOOL_DRAW_SHARP, \ SCULPT_TOOL_CREASE, \ SCULPT_TOOL_BLOB, \ SCULPT_TOOL_LAYER, \ @@ -485,6 +487,7 @@ typedef enum eBrushUVSculptTool { SCULPT_TOOL_ROTATE, \ SCULPT_TOOL_THUMB, \ SCULPT_TOOL_LAYER, \ + SCULPT_TOOL_DRAW_SHARP, \ \ /* These brushes could handle dynamic topology, \ * but user feedback indicates it's better not to */ \ @@ -496,6 +499,7 @@ typedef enum eBrushUVSculptTool { SCULPT_TOOL_GRAB, \ SCULPT_TOOL_ROTATE, \ SCULPT_TOOL_THUMB, \ + SCULPT_TOOL_DRAW_SHARP, \ SCULPT_TOOL_MASK) == 0) /* ImagePaintSettings.tool */ |