Skip to content

Commit

Permalink
Fix double support on first layer
Browse files Browse the repository at this point in the history
  • Loading branch information
wawanbreton committed Mar 20, 2024
1 parent 87d6394 commit 794357b
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 794357b

Please sign in to comment.