Updated shader for support seams

Added changes in shader to show the start of the support walls too along with the model walls

CURA-11227
This commit is contained in:
Saumya Jain 2024-04-23 14:28:35 +02:00
parent c517311171
commit 3e1ee4b266
2 changed files with 7 additions and 2 deletions

View file

@ -356,7 +356,10 @@ geometry41core =
EndPrimitive();
}
if ((u_show_starts == 1) && (v_prev_line_type[0] != 1) && (v_line_type[0] == 1)) {
if ((u_show_starts == 1) && (
((v_prev_line_type[0] != 1) && (v_line_type[0] == 1)) ||
((v_prev_line_type[0] != 4) && (v_line_type[0] == 4))
)) {
float w = size_x;
float h = size_y;