From 89c78fa2dac2fbb84e034a850ef5ec36cc87fd93 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Thu, 22 Sep 2016 11:41:52 +0200 Subject: [PATCH] Increased difference between display color for active/inactive extruder CURA-2025 --- plugins/LayerView/layers.shader | 2 +- plugins/SolidView/SolidView.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/LayerView/layers.shader b/plugins/LayerView/layers.shader index 8e1402e6b2..0e1f767e23 100644 --- a/plugins/LayerView/layers.shader +++ b/plugins/LayerView/layers.shader @@ -25,7 +25,7 @@ fragment = [defaults] u_active_extruder = 0.0 -u_shade_factor = 0.75 +u_shade_factor = 0.60 [bindings] u_modelViewProjectionMatrix = model_view_projection_matrix diff --git a/plugins/SolidView/SolidView.py b/plugins/SolidView/SolidView.py index fc3324c19c..33c21acb08 100644 --- a/plugins/SolidView/SolidView.py +++ b/plugins/SolidView/SolidView.py @@ -91,7 +91,7 @@ class SolidView(View): if extruder_index != ExtruderManager.getInstance().activeExtruderIndex: # Shade objects that are printed with the non-active extruder 25% darker - shade_factor = 0.75 + shade_factor = 0.6 try: # Colors are passed as rgb hex strings (eg "#ffffff"), and the shader needs # an rgba list of floats (eg [1.0, 1.0, 1.0, 1.0])