diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-01-04 17:55:29 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-01-04 17:55:29 +0300 |
commit | becca813d796bca8c59c20b496f24f42277f25c7 (patch) | |
tree | d90d0a7874b78218c7b425222ec00fafbaaf97da | |
parent | df29715498a2e601f1c57ff68b168e5984ef6491 (diff) |
Crease tool brush missed brush color changing depends on brush appearance.
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_stroke.c | 2 |
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; |