diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-03-01 22:13:29 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-03-02 13:54:54 +0300 |
commit | c930cd7450c4aeb5928f6d343fde06ae9a02ef21 (patch) | |
tree | 754c8a8632a0b42b2f61afb30513a718ee877dda /source/blender/blenkernel | |
parent | 94937984b097fee9f0db94878f115c3592d5b454 (diff) |
Clay Thumb: Remove hardcoded hardness value
Clay Thumb was using a custom hardness implementation and value to make
it functional. Hardness is now a property of brushes and it is
implemented for all brushes, so this is no longer needed.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D6981
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/brush.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c index 09b3ad89e73..1d3965fc7c3 100644 --- a/source/blender/blenkernel/intern/brush.c +++ b/source/blender/blenkernel/intern/brush.c @@ -943,6 +943,7 @@ void BKE_brush_sculpt_reset(Brush *br) br->alpha = 0.5f; br->normal_radius_factor = 1.0f; br->spacing = 6; + br->hardness = 0.5f; br->flag |= BRUSH_SIZE_PRESSURE; br->flag &= ~BRUSH_SPACE_ATTEN; break; |