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>2019-09-26 19:19:52 +0300
committerPablo Dobarro <pablodp606@gmail.com>2019-09-27 18:45:13 +0300
commit2bef8c5ea8ba3df69397b998c8be72e92be5da94 (patch)
tree7853e0d282868954a9cf1a74cc46fbab7fbc17cf /source/blender/blenkernel/intern/brush.c
parent7bbdc6996a71612b719053e62a9f753a3852e215 (diff)
Sculpt: Enable accumulate in scrape brush
This fixes some artifacts when working on curved surfaces. Previous behavior was with accumulate on, so that is now the default. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D5826
Diffstat (limited to 'source/blender/blenkernel/intern/brush.c')
-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 56ce658d9d7..4df5eb6f263 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -912,6 +912,7 @@ void BKE_brush_sculpt_reset(Brush *br)
case SCULPT_TOOL_SCRAPE:
br->alpha = 1.0f;
br->spacing = 7;
+ br->flag |= BRUSH_ACCUMULATE;
break;
case SCULPT_TOOL_ROTATE:
br->alpha = 1.0;