Revert "Make LayerView work with "Purge" line type"

CURA-3094
This commit is contained in:
Lipu Fei 2017-06-23 13:32:18 +02:00
parent 81323e555a
commit f3a9267fa6
7 changed files with 6 additions and 51 deletions

View file

@ -71,7 +71,6 @@ geometry41core =
uniform int u_show_helpers;
uniform int u_show_skin;
uniform int u_show_infill;
uniform int u_show_purge;
layout(lines) in;
layout(triangle_strip, max_vertices = 26) out;
@ -126,9 +125,6 @@ geometry41core =
if ((u_show_infill == 0) && (v_line_type[0] == 6)) {
return;
}
if ((u_show_purge == 0) && (v_line_type[0] == 11)) {
return;
}
if ((v_line_type[0] == 8) || (v_line_type[0] == 9)) {
// fixed size for movements
@ -250,7 +246,6 @@ u_show_travel_moves = 0
u_show_helpers = 1
u_show_skin = 1
u_show_infill = 1
u_show_purge = 1
[bindings]
u_modelViewProjectionMatrix = model_view_projection_matrix