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-06-26 20:58:33 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-06-29 18:23:43 +0300
commit3118636f81a45d39e79e7a9a287056de1e8123cd (patch)
tree516f03a84a3edfca7b9c8c7fa466eed10c9e9e85 /source/blender/blenkernel/intern/brush.c
parent9c29803255e09c3b8e8f92c459374e61c251187c (diff)
Fix Smear Tool too weak on high poly meshes
The defaults for the Smear tool were making it too weak in high poly meshes, specially the alpha/pressure option enabled by default. Now this option is disabled, it has a linear pressure curve and less spacing. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8134
Diffstat (limited to 'source/blender/blenkernel/intern/brush.c')
-rw-r--r--source/blender/blenkernel/intern/brush.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c
index 417fd182e73..366182f3bd7 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -1603,7 +1603,8 @@ void BKE_brush_sculpt_reset(Brush *br)
break;
case SCULPT_TOOL_SMEAR:
br->alpha = 1.0f;
- br->spacing = 7;
+ br->spacing = 5;
+ br->flag &= ~BRUSH_ALPHA_PRESSURE;
br->flag &= ~BRUSH_SPACE_ATTEN;
br->curve_preset = BRUSH_CURVE_SPHERE;
break;