Browse Source

Increased difference between display color for active/inactive extruder

CURA-2025
Jaime van Kessel 8 years ago
parent
commit
89c78fa2da
2 changed files with 2 additions and 2 deletions
  1. 1 1
      plugins/LayerView/layers.shader
  2. 1 1
      plugins/SolidView/SolidView.py

+ 1 - 1
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

+ 1 - 1
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])