Bugfix: ExPolygon::contains_line() was called with a Polyline object but didn't throw any error. Thanks ledvinap #1945

This commit is contained in:
Alessandro Ranellucci 2014-04-19 01:26:21 +02:00
parent 62e19469bc
commit caf20664cd
2 changed files with 7 additions and 2 deletions

View file

@ -18,4 +18,9 @@ sub grow {
return Slic3r::Polyline->new(@$self)->grow(@_);
}
sub as_polyline {
my ($self) = @_;
return Slic3r::Polyline->new(@$self);
}
1;