diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2019-11-22 20:21:03 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2019-11-22 20:21:44 +0300 |
commit | 71ddcf1a0883b21f3c37cde75b26514efd967484 (patch) | |
tree | bc3e30d0384f7d89338e7d8da0f4f04d15a9346d /source/blender/makesdna/DNA_brush_types.h | |
parent | 2ff1919b456b5c48bec8cb8914d2051e087e18e5 (diff) |
Paint: Smoother curve preset
This implements a 5th-order equation smoothstep, which produces a flat
surface at the brush center. Some users find that our current grab brush
is too sharp, so now we have both options.
This also improves the behavior of the new clay brushes.
Reviewed By: jbakker
Differential Revision: https://developer.blender.org/D6265
Diffstat (limited to 'source/blender/makesdna/DNA_brush_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_brush_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index 8f9bc1ddedb..3860ea6b312 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -199,6 +199,7 @@ typedef enum eBrushCurvePreset { BRUSH_CURVE_POW4 = 6, BRUSH_CURVE_INVSQUARE = 7, BRUSH_CURVE_CONSTANT = 8, + BRUSH_CURVE_SMOOTHER = 9, } eBrushCurvePreset; typedef enum eBrushElasticDeformType { |