Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKostas Karmas <konskarm@gmail.com>2020-05-07 15:10:45 +0300
committerKostas Karmas <konskarm@gmail.com>2020-05-07 15:10:45 +0300
commit6ffd250965b568e7d83a71531e7d7c390f5e9380 (patch)
treea9fb8f85ddbb4ead15843f91d2c82f0aab9316cb /plugins/SimulationView
parent99e99e46509c536f21633495c87fec3355a27a04 (diff)
Format spacing
CURA-7426
Diffstat (limited to 'plugins/SimulationView')
-rw-r--r--plugins/SimulationView/layers.shader2
-rw-r--r--plugins/SimulationView/layers3d.shader2
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