diff options
author | Kostas Karmas <konskarm@gmail.com> | 2020-05-07 15:10:45 +0300 |
---|---|---|
committer | Kostas Karmas <konskarm@gmail.com> | 2020-05-07 15:10:45 +0300 |
commit | 6ffd250965b568e7d83a71531e7d7c390f5e9380 (patch) | |
tree | a9fb8f85ddbb4ead15843f91d2c82f0aab9316cb /plugins/SimulationView | |
parent | 99e99e46509c536f21633495c87fec3355a27a04 (diff) |
Format spacing
CURA-7426
Diffstat (limited to 'plugins/SimulationView')
-rw-r--r-- | plugins/SimulationView/layers.shader | 2 | ||||
-rw-r--r-- | plugins/SimulationView/layers3d.shader | 2 |
2 files changed, 2 insertions, 2 deletions
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 |