Fixed many little things that were not updated along with recent large refactoring. #157 #144

This commit is contained in:
Alessandro Ranellucci 2012-01-11 20:13:26 +01:00
parent 8ed91a8ec4
commit 0184b0f205
3 changed files with 9 additions and 6 deletions

View file

@ -330,7 +330,10 @@ sub extrude_skirt {
my $skirt_height = $Slic3r::skirt_height;
$skirt_height = $self->layer_count if $skirt_height > $self->layer_count;
my @layers = map $self->layer($_), 0..($skirt_height-1);
my @points = map @$_, map $_->p, map +(@{$_->slices}, @{$_->thin_walls}), @layers;
my @points = (
(map @$_, map @{$_->expolygon}, map @{$_->slices}, @layers),
(map @$_, map @{$_->thin_walls}, @layers),
);
return if !@points;
# find out convex hull