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
path: root/source
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-01-04 17:55:29 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2011-01-04 17:55:29 +0300
commitbecca813d796bca8c59c20b496f24f42277f25c7 (patch)
treed90d0a7874b78218c7b425222ec00fafbaaf97da /source
parentdf29715498a2e601f1c57ff68b168e5984ef6491 (diff)
Crease tool brush missed brush color changing depends on brush appearance.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/sculpt_paint/paint_stroke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c
index ccbaa3f5b57..d410cea8f13 100644
--- a/source/blender/editors/sculpt_paint/paint_stroke.c
+++ b/source/blender/editors/sculpt_paint/paint_stroke.c
@@ -595,7 +595,7 @@ static void paint_draw_cursor(bContext *C, int x, int y, void *unused)
sign = flip * ((brush->flag & BRUSH_DIR_IN)? -1 : 1);
- if (sign < 0 && ELEM4(brush->sculpt_tool, SCULPT_TOOL_DRAW, SCULPT_TOOL_INFLATE, SCULPT_TOOL_CLAY, SCULPT_TOOL_PINCH))
+ if (sign < 0 && ELEM5(brush->sculpt_tool, SCULPT_TOOL_DRAW, SCULPT_TOOL_INFLATE, SCULPT_TOOL_CLAY, SCULPT_TOOL_PINCH, SCULPT_TOOL_CREASE))
col = brush->sub_col;
else
col = brush->add_col;