Skirt can be disabled by either setting skirts to 0 or skirt-height to 0

This commit is contained in:
Alessandro Ranellucci 2011-12-16 09:55:13 +01:00
parent 172253cfd7
commit f5eb4f03e1
3 changed files with 4 additions and 3 deletions

View file

@ -328,6 +328,7 @@ sub extrude_skirt {
my @points = ();
my @layers = map $self->layer($_), 0..($Slic3r::skirt_height-1);
push @points, map @$_, map $_->p, map @{ $_->slices }, @layers;
return if !@points;
# find out convex hull
my $convex_hull = convex_hull(\@points);