diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-10-01 20:32:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-10-01 20:37:29 +0300 |
commit | 72666ae3e7b7854429cb297d767833fd41bac812 (patch) | |
tree | bec8eddc6735e864e6eec7dadf76516532c5739d /source/blender/blenkernel/intern/brush.c | |
parent | 710e4847a0d2c6f18262b928faae9288bd41ad4e (diff) |
Brush: default the strength to 1.0
This applies to all paint modes except sculpt and grease pencil brushes.
When painting color or weight it's best to paint the color
the user has selected, without them having to make multiple strokes.
Diffstat (limited to 'source/blender/blenkernel/intern/brush.c')
-rw-r--r-- | source/blender/blenkernel/intern/brush.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c index 95d3f47c38c..4187dfa68ad 100644 --- a/source/blender/blenkernel/intern/brush.c +++ b/source/blender/blenkernel/intern/brush.c @@ -895,6 +895,10 @@ void BKE_brush_sculpt_reset(Brush *br) /* Use the curve presets by default */ br->curve_preset = BRUSH_CURVE_SMOOTH; + /* Note that sculpt defaults where set when 0.5 was the default (now it's 1.0) + * assign this so logic below can remain the same. */ + br->alpha = 0.5f; + /* Brush settings */ switch (br->sculpt_tool) { case SCULPT_TOOL_DRAW_SHARP: |