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
This commit is contained in:
Pablo Dobarro 2019-09-26 18:19:52 +02:00
parent 7bbdc6996a
commit 2bef8c5ea8
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -498,6 +498,7 @@ typedef enum eBrushUVSculptTool {
SCULPT_TOOL_CLAY, \
SCULPT_TOOL_CLAY_STRIPS, \
SCULPT_TOOL_ROTATE, \
SCULPT_TOOL_SCRAPE, \
SCULPT_TOOL_FLATTEN)
#define SCULPT_TOOL_HAS_NORMAL_WEIGHT(t) ELEM(t, SCULPT_TOOL_GRAB, SCULPT_TOOL_SNAKE_HOOK)