From 794357bf4172660a02c27623b0b1ae055959f6be Mon Sep 17 00:00:00 2001 From: Erwan MATHIEU Date: Wed, 20 Mar 2024 16:09:58 +0100 Subject: [PATCH] Fix double support on first layer CURA-11414 --- src/FffGcodeWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FffGcodeWriter.cpp b/src/FffGcodeWriter.cpp index 1553726810..c030e11a9d 100644 --- a/src/FffGcodeWriter.cpp +++ b/src/FffGcodeWriter.cpp @@ -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);