From 6ffd250965b568e7d83a71531e7d7c390f5e9380 Mon Sep 17 00:00:00 2001 From: Kostas Karmas Date: Thu, 7 May 2020 14:10:45 +0200 Subject: Format spacing CURA-7426 --- plugins/SimulationView/layers.shader | 2 +- plugins/SimulationView/layers3d.shader | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/SimulationView') diff --git a/plugins/SimulationView/layers.shader b/plugins/SimulationView/layers.shader index b68289aa6f..e6210c2b65 100644 --- a/plugins/SimulationView/layers.shader +++ b/plugins/SimulationView/layers.shader @@ -152,7 +152,7 @@ fragment41core = u_active_extruder = 0.0 u_shade_factor = 0.60 u_layer_view_type = 0 -u_extruder_opacity = [[1.0, 1.0, 1.0, 1.0],[1.0, 1.0, 1.0, 1.0],[1.0, 1.0, 1.0, 1.0],[1.0, 1.0, 1.0, 1.0]] +u_extruder_opacity = [[1.0, 1.0, 1.0, 1.0], [1.0, 1.0, 1.0, 1.0], [1.0, 1.0, 1.0, 1.0], [1.0, 1.0, 1.0, 1.0]] u_show_travel_moves = 0 u_show_helpers = 1 diff --git a/plugins/SimulationView/layers3d.shader b/plugins/SimulationView/layers3d.shader index 56b50216a6..ceda09f9d5 100644 --- a/plugins/SimulationView/layers3d.shader +++ b/plugins/SimulationView/layers3d.shader @@ -152,7 +152,7 @@ geometry41core = float size_x; float size_y; - if ((v_extruder_opacity[0][int(mod(v_extruder[0], 4))][v_extruder[0]/4] == 0.0) && (v_line_type[0] != 8) && (v_line_type[0] != 9)) { + if ((v_extruder_opacity[0][int(mod(v_extruder[0], 4))][v_extruder[0] / 4] == 0.0) && (v_line_type[0] != 8) && (v_line_type[0] != 9)) { return; } // See LayerPolygon; 8 is MoveCombingType, 9 is RetractionType -- cgit v1.2.3