[Bf-blender-cvs] [0434511a409] master: 3D View: fade out dupli-wire color 70%
Campbell Barton
noreply at git.blender.org
Fri Jan 11 05:05:44 CET 2019
Commit: 0434511a40987a4f23f0281ddddb57029871b3aa
Author: Campbell Barton
Date: Fri Jan 11 14:26:30 2019 +1100
Branches: master
https://developer.blender.org/rB0434511a40987a4f23f0281ddddb57029871b3aa
3D View: fade out dupli-wire color 70%
===================================================================
M source/blender/draw/intern/draw_common.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list