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

@ -92,6 +92,11 @@ sub offset {
return map Slic3r::Polygon->new($_), Slic3r::Geometry::Clipper::offset([$self], @_);
}
sub grow {
my $self = shift;
return $self->split_at_first_point->grow(@_);
}
# this method subdivides the polygon segments to that no one of them
# is longer than the length provided
sub subdivide {