Bugfix: extrude_skirt() was assuming that a copy existed at 0,0 (not harmful but incorrect)

This commit is contained in:
Alessandro Ranellucci 2012-03-26 19:47:21 +02:00
parent 32c46f0ea3
commit 2aa786c95f

View File

@ -341,10 +341,10 @@ sub extrude_skirt {
return if !@points;
# duplicate points to take copies into account
push @points, map move_points($_, @points), @{$self->copies};
my @all_points = map move_points($_, @points), @{$self->copies};
# find out convex hull
my $convex_hull = convex_hull(\@points);
my $convex_hull = convex_hull(\@all_points);
# draw outlines from outside to inside
my @skirts = ();