Fixed regression causing thin walls to be processed twice, thus producing overlapping straight paths and zigzag. #1035

This commit is contained in:
Alessandro Ranellucci 2013-03-09 17:07:11 +01:00
parent a2702082b2
commit fa41e15c68
3 changed files with 16 additions and 1 deletions

View file

@ -84,7 +84,6 @@ sub length {
return $length;
}
# this only applies to polylines
sub grow {
my $self = shift;
return Slic3r::Polygon->new(@$self, CORE::reverse @$self[1..($#$self-1)])->offset(@_);