From f0e434f8c18eba46b58338e58e38669803cd049e Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Tue, 28 Feb 2012 22:04:48 +0100 Subject: [PATCH] Fix typo in previous commit and in config options. #234 --- lib/Slic3r/Config.pm | 2 +- lib/Slic3r/Print.pm | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Slic3r/Config.pm b/lib/Slic3r/Config.pm index c73310d8c..71d18ba7a 100644 --- a/lib/Slic3r/Config.pm +++ b/lib/Slic3r/Config.pm @@ -93,7 +93,7 @@ our $Options = { }, 'first_layer_temperature' => { label => 'First layer temperature (°C)', - cli => 'fisrt-layer-temperature=i', + cli => 'first-layer-temperature=i', type => 'i', }, 'temperature' => { diff --git a/lib/Slic3r/Print.pm b/lib/Slic3r/Print.pm index e7ba03d96..e36927875 100644 --- a/lib/Slic3r/Print.pm +++ b/lib/Slic3r/Print.pm @@ -641,6 +641,8 @@ sub export_gcode { $layer_gcode .= $extruder->extrude_loop($_, 'skirt') for @{ $layer->skirts }; for (my $i = 0; $i <= $#{$self->copies}; $i++) { + my $copy = $self->copies->[$i]; + # retract explicitely because changing the shift_[xy] properties below # won't always trigger the automatic retraction $layer_gcode .= $extruder->retract;