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;

View file

@ -4795,8 +4795,10 @@
"minimum_value": "0.001",
"value": "line_width * 2",
"default_value": 0.8,
"maximum_value": "line_width * 4",
"maximum_value_warning": "line_width * 2",
"type": "float",
"enabled": "support_z_seam_away_from_model",
"enabled": "support_z_seam_away_from_model and support_enable",
"settable_per_mesh": false,
"settable_per_extruder": true
}