Reapply correct optimization for simplifiying fill_surfaces before performing the offset. #1325

This commit is contained in:
Alessandro Ranellucci 2013-07-20 12:22:41 +02:00
parent 9433048873
commit e29aca3553
5 changed files with 40 additions and 12 deletions

View file

@ -72,6 +72,8 @@ sub grow {
return $self->split_at_first_point->grow(@_);
}
# NOTE that this will turn the polygon to ccw regardless of its
# original orientation
sub simplify {
my $self = shift;
return Slic3r::Geometry::Clipper::simplify_polygon( $self->SUPER::simplify(@_) );