Bugfix: extrude_skirt() was assuming that a copy existed at 0,0 (not harmful but incorrect)
This commit is contained in:
parent
32c46f0ea3
commit
2aa786c95f
@ -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 = ();
|
||||
|
Loading…
Reference in New Issue
Block a user