Sculpt: Fix slide relax cursor color
authorPablo Dobarro <pablodp606@gmail.com>
Wed, 12 Feb 2020 20:17:35 +0000 (21:17 +0100)
committerPablo Dobarro <pablodp606@gmail.com>
Tue, 18 Feb 2020 15:56:37 +0000 (16:56 +0100)
Slide/Relax is a deform tool, so the color should be yellow.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D6827

source/blender/blenkernel/intern/brush.c

index 6a40d126352b1bcb08db959f0ddd9579f6242950..1f314dbf7cb62506350d53ad00ee793083576561 100644 (file)
@@ -1063,6 +1063,7 @@ void BKE_brush_sculpt_reset(Brush *br)
     case SCULPT_TOOL_ROTATE:
     case SCULPT_TOOL_ELASTIC_DEFORM:
     case SCULPT_TOOL_POSE:
+    case SCULPT_TOOL_SLIDE_RELAX:
       br->add_col[0] = 1.0f;
       br->add_col[1] = 0.95f;
       br->add_col[2] = 0.005f;