Bugfix: fatal error with thin loops after recent refactoring. #562

This commit is contained in:
Alessandro Ranellucci 2012-07-28 11:04:26 +02:00
parent 57b134cc9c
commit c763f5fc81

View file

@ -185,7 +185,7 @@ sub make_fill {
);
push @fills, map {
$_->isa('Slic3r::Polygon')
? Slic3r::ExtrusionLoop->pack(polygon => $_, %args)->split_at_first_point
? (map $_->pack, Slic3r::ExtrusionLoop->new(polygon => $_, %args)->split_at_first_point)
: Slic3r::ExtrusionPath->pack(polyline => $_, %args),
} @{$layer->thin_fills};
}