Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Dobarro <pablodp606@gmail.com>2020-03-09 18:35:07 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-03-09 21:29:18 +0300
commitc65b9fb825f61dceda5fc4565c8df01a3b837447 (patch)
tree6cf639a35b3281e61030bfb2dd53c12cf940d2d3 /source/blender/blenkernel
parent6eb76f64304235bd91e7a226019da5424e0b28d3 (diff)
Sculpt: Remove hardcoded hardness from Clay brush
Hardness is now a property implemented for all brushes, so this is no longer needed. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7078
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/brush.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c
index 1716439c3fd..74c492573b1 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -1303,6 +1303,7 @@ void BKE_brush_sculpt_reset(Brush *br)
br->spacing = 3;
br->autosmooth_factor = 0.25f;
br->normal_radius_factor = 0.75f;
+ br->hardness = 0.65f;
break;
case SCULPT_TOOL_CLAY_THUMB:
br->alpha = 0.5f;