Skip to content

Commit

Permalink
Fix double support on first layer (#2051)
Browse files Browse the repository at this point in the history
  • Loading branch information
HellAholic authored Mar 21, 2024
2 parents 87d6394 + 794357b commit 70daea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FffGcodeWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3673,7 +3673,7 @@ bool FffGcodeWriter::addSupportRoofsToGCode(
// make sure there is a wall if this is on the first layer
if (gcode_layer.getLayerNr() == 0)
{
wall = support_layer.support_roof.offset(-support_roof_line_width / 2);
wall = support_roof_outlines.offset(-support_roof_line_width / 2);
infill_outline = wall.offset(-support_roof_line_width / 2);
}
infill_outline = Simplify(roof_extruder.settings_).polygon(infill_outline);
Expand Down

0 comments on commit 70daea6

Please sign in to comment.