From e998cb2c2e059c5db1d7bc97f68358b3f023bcef Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Tue, 5 Nov 2019 16:49:16 +0100 Subject: Sculpt: Use more saturated colors in the cursor The previous cursor colors were chosen to match the toolbar icon color, but the contrast on top of the default matcaps was not enough. This commit uses more saturated colors, which are more visible on top of the default matcaps. Reviewed By: jbakker, billreynish Differential Revision: https://developer.blender.org/D6194 --- source/blender/blenkernel/intern/brush.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'source/blender/blenkernel/intern/brush.c') diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c index 8b90eafdddf..b5f2ca0f117 100644 --- a/source/blender/blenkernel/intern/brush.c +++ b/source/blender/blenkernel/intern/brush.c @@ -1015,12 +1015,12 @@ void BKE_brush_sculpt_reset(Brush *br) case SCULPT_TOOL_INFLATE: case SCULPT_TOOL_BLOB: case SCULPT_TOOL_CREASE: - br->add_col[0] = 0.5f; - br->add_col[1] = 0.7f; - br->add_col[2] = 0.875f; - br->sub_col[0] = 0.5f; - br->sub_col[1] = 0.7f; - br->sub_col[2] = 0.875f; + br->add_col[0] = 0.0f; + br->add_col[1] = 0.5f; + br->add_col[2] = 1.0f; + br->sub_col[0] = 0.0f; + br->sub_col[1] = 0.5f; + br->sub_col[2] = 1.0f; break; case SCULPT_TOOL_SMOOTH: @@ -1029,11 +1029,11 @@ void BKE_brush_sculpt_reset(Brush *br) case SCULPT_TOOL_SCRAPE: case SCULPT_TOOL_MULTIPLANE_SCRAPE: br->add_col[0] = 1.0f; - br->add_col[1] = 0.39f; - br->add_col[2] = 0.39f; + br->add_col[1] = 0.05f; + br->add_col[2] = 0.01f; br->sub_col[0] = 1.0f; - br->sub_col[1] = 0.39f; - br->sub_col[2] = 0.39f; + br->sub_col[1] = 0.05f; + br->sub_col[2] = 0.01f; break; case SCULPT_TOOL_PINCH: @@ -1045,11 +1045,11 @@ void BKE_brush_sculpt_reset(Brush *br) case SCULPT_TOOL_ELASTIC_DEFORM: case SCULPT_TOOL_POSE: br->add_col[0] = 1.0f; - br->add_col[1] = 1.0f; - br->add_col[2] = 0.39f; + br->add_col[1] = 0.95f; + br->add_col[2] = 0.005f; br->sub_col[0] = 1.0f; - br->sub_col[1] = 1.0f; - br->sub_col[2] = 0.39f; + br->sub_col[1] = 0.95f; + br->sub_col[2] = 0.005f; break; case SCULPT_TOOL_SIMPLIFY: -- cgit v1.2.3