From 964accb58800b3b1fdc4dac6146a45dbf7555f92 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sun, 10 Mar 2013 19:07:41 +0100 Subject: [PATCH] Typo --- lib/Slic3r/Print.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Slic3r/Print.pm b/lib/Slic3r/Print.pm index 0272028678..e69ed75635 100644 --- a/lib/Slic3r/Print.pm +++ b/lib/Slic3r/Print.pm @@ -890,13 +890,13 @@ sub write_gcode { foreach my $island (@islands) { my $extrude_perimeters = sub { - next if !@{ $island->{perimeters} }; + return if !@{ $island->{perimeters} }; $gcode .= $gcodegen->set_extruder($region->extruders->{perimeter}); $gcode .= $gcodegen->extrude($_, 'perimeter') for @{ $island->{perimeters} }; }; my $extrude_fills = sub { - next if !@{ $island->{fills} }; + return if !@{ $island->{fills} }; $gcode .= $gcodegen->set_extruder($region->extruders->{infill}); for my $fill (@{ $island->{fills} }) { if ($fill->isa('Slic3r::ExtrusionPath::Collection')) {