Bugfix: the grow() method wasn't working properly, causing bad brim/support material interface. #639

This commit is contained in:
Alessandro Ranellucci 2012-09-28 15:27:33 +02:00
parent 9ee9b54c73
commit f50b0040ef
2 changed files with 2 additions and 1 deletions

View file

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