diff options
Diffstat (limited to 'source/blender/blenkernel/intern/brush.c')
-rw-r--r-- | source/blender/blenkernel/intern/brush.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c index 8ba1aa20a26..4d496fe758b 100644 --- a/source/blender/blenkernel/intern/brush.c +++ b/source/blender/blenkernel/intern/brush.c @@ -1576,6 +1576,9 @@ float BKE_brush_curve_strength(const Brush *br, float p, const float len) case BRUSH_CURVE_SMOOTH: strength = 3.0f * p * p - 2.0f * p * p * p; break; + case BRUSH_CURVE_SMOOTHER: + strength = pow3f(p) * (p * (p * 6.0f - 15.0f) + 10.0f); + break; case BRUSH_CURVE_ROOT: strength = sqrtf(p); break; |