Very large refactoring. Ditched Slic3r::Polyline::Closed and reorganized geometric classes.

This commit is contained in:
Alessandro Ranellucci committed 2011-12-30 19:59:51 +01:00
1 parent 2def6a9787
commit 8ed91a8ec4
20 files changed
+293 -349

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ sub fill_surface {
# connect lines
{
my $collection = Slic3r::ExtrusionPath::Collection->new(
paths => [ map Slic3r::ExtrusionPath->cast([ @$_ ], role => 'bogus'), @paths ],
paths => [ map Slic3r::ExtrusionPath->new(polyline => Slic3r::Polyline->new(@$_), role => 'bogus'), @paths ],
);
@paths = ();