mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Increased difference between display color for active/inactive extruder
CURA-2025
This commit is contained in:
parent
fef1cfb5e8
commit
89c78fa2da
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ fragment =
|
||||||
|
|
||||||
[defaults]
|
[defaults]
|
||||||
u_active_extruder = 0.0
|
u_active_extruder = 0.0
|
||||||
u_shade_factor = 0.75
|
u_shade_factor = 0.60
|
||||||
|
|
||||||
[bindings]
|
[bindings]
|
||||||
u_modelViewProjectionMatrix = model_view_projection_matrix
|
u_modelViewProjectionMatrix = model_view_projection_matrix
|
||||||
|
|
|
@ -91,7 +91,7 @@ class SolidView(View):
|
||||||
|
|
||||||
if extruder_index != ExtruderManager.getInstance().activeExtruderIndex:
|
if extruder_index != ExtruderManager.getInstance().activeExtruderIndex:
|
||||||
# Shade objects that are printed with the non-active extruder 25% darker
|
# Shade objects that are printed with the non-active extruder 25% darker
|
||||||
shade_factor = 0.75
|
shade_factor = 0.6
|
||||||
try:
|
try:
|
||||||
# Colors are passed as rgb hex strings (eg "#ffffff"), and the shader needs
|
# 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])
|
# an rgba list of floats (eg [1.0, 1.0, 1.0, 1.0])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue