Fix typo in previous commit and in config options. #234

This commit is contained in:
Alessandro Ranellucci 2012-02-28 22:04:48 +01:00
parent 0520d1645b
commit f0e434f8c1
2 changed files with 3 additions and 1 deletions

View file

@ -93,7 +93,7 @@ our $Options = {
}, },
'first_layer_temperature' => { 'first_layer_temperature' => {
label => 'First layer temperature (°C)', label => 'First layer temperature (°C)',
cli => 'fisrt-layer-temperature=i', cli => 'first-layer-temperature=i',
type => 'i', type => 'i',
}, },
'temperature' => { 'temperature' => {

View file

@ -641,6 +641,8 @@ sub export_gcode {
$layer_gcode .= $extruder->extrude_loop($_, 'skirt') for @{ $layer->skirts }; $layer_gcode .= $extruder->extrude_loop($_, 'skirt') for @{ $layer->skirts };
for (my $i = 0; $i <= $#{$self->copies}; $i++) { for (my $i = 0; $i <= $#{$self->copies}; $i++) {
my $copy = $self->copies->[$i];
# retract explicitely because changing the shift_[xy] properties below # retract explicitely because changing the shift_[xy] properties below
# won't always trigger the automatic retraction # won't always trigger the automatic retraction
$layer_gcode .= $extruder->retract; $layer_gcode .= $extruder->retract;