Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-01-11 06:26:30 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-11 07:02:58 +0300
commit0434511a40987a4f23f0281ddddb57029871b3aa (patch)
tree8c29c1498ea08a79c7254cc163968f89ae13e502 /source/blender/draw/intern/draw_common.c
parent932701379692866394e196acd12a7157b5beba0d (diff)
3D View: fade out dupli-wire color 70%
Diffstat (limited to 'source/blender/draw/intern/draw_common.c')
-rw-r--r--source/blender/draw/intern/draw_common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_common.c b/source/blender/draw/intern/draw_common.c
index ce7667f3ef0..9b969c23ba6 100644
--- a/source/blender/draw/intern/draw_common.c
+++ b/source/blender/draw/intern/draw_common.c
@@ -92,7 +92,9 @@ void DRW_globals_update(void)
copy_v3_fl(ts.colorEditMeshMiddle, dot_v3v3(ts.colorEditMeshMiddle, (float[3]){0.3333f, 0.3333f, 0.3333f})); /* Desaturate */
interp_v4_v4v4(ts.colorDupliSelect, ts.colorBackground, ts.colorSelect, 0.5f);
- interp_v4_v4v4(ts.colorDupli, ts.colorBackground, ts.colorWire, 0.5f);
+ /* Was 50% in 2.7x since the background was lighter making it easier to tell the color from black,
+ * with a darker background we need a more faded color. */
+ interp_v4_v4v4(ts.colorDupli, ts.colorBackground, ts.colorWire, 0.3f);
#ifdef WITH_FREESTYLE
UI_GetThemeColor4fv(TH_FREESTYLE_EDGE_MARK, ts.colorEdgeFreestyle);