Limit skirt height to the print height. #128
This commit is contained in:
parent
28b851508e
commit
55045e0437
@ -328,7 +328,9 @@ sub extrude_skirt {
|
|||||||
|
|
||||||
# collect points from all layers contained in skirt height
|
# collect points from all layers contained in skirt height
|
||||||
my @points = ();
|
my @points = ();
|
||||||
my @layers = map $self->layer($_), 0..($Slic3r::skirt_height-1);
|
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);
|
||||||
push @points, map @$_, map $_->p, map @{ $_->slices }, @layers;
|
push @points, map @$_, map $_->p, map @{ $_->slices }, @layers;
|
||||||
return if !@points;
|
return if !@points;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user