diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2019-11-05 18:49:16 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2019-12-17 21:45:19 +0300 |
commit | e998cb2c2e059c5db1d7bc97f68358b3f023bcef (patch) | |
tree | 0d6b611ffcacedcb87ed692dd6b94904c41f2cb0 | |
parent | a04573f4aacb2bfcceba3d5bbfce2df5d372167e (diff) |
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
-rw-r--r-- | source/blender/blenkernel/intern/brush.c | 28 |
1 files changed, 14 insertions, 14 deletions
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: |