From 3afeb5c7b5896db30f0f673bbf228cedf5fe3110 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Thu, 4 Apr 2013 00:52:11 +0200 Subject: [PATCH] Second layer commands were written multiple times --- lib/Slic3r/Print.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Slic3r/Print.pm b/lib/Slic3r/Print.pm index 2cf12bf63f..bbccf7ed79 100644 --- a/lib/Slic3r/Print.pm +++ b/lib/Slic3r/Print.pm @@ -794,6 +794,7 @@ sub write_gcode { } $gcode .= $gcodegen->set_bed_temperature($Slic3r::Config->bed_temperature) if $Slic3r::Config->bed_temperature && $Slic3r::Config->bed_temperature != $Slic3r::Config->first_layer_bed_temperature; + $second_layer_things_done = 1; } # set new layer, but don't move Z as support material contact areas may need an intermediate one