[Bf-blender-cvs] [e998cb2c2e0] master: Sculpt: Use more saturated colors in the cursor

Pablo Dobarro noreply at git.blender.org
Tue Dec 17 19:41:19 CET 2019


Commit: e998cb2c2e059c5db1d7bc97f68358b3f023bcef
Author: Pablo Dobarro
Date:   Tue Nov 5 16:49:16 2019 +0100
Branches: master
https://developer.blender.org/rBe998cb2c2e059c5db1d7bc97f68358b3f023bcef

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

===================================================================

M	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:



More information about the Bf-blender-cvs mailing list