mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 10:17:55 -06:00
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
1 changed files with 2 additions and 2 deletions
|
@ -341,10 +341,10 @@ sub extrude_skirt {
|
||||||
return if !@points;
|
return if !@points;
|
||||||
|
|
||||||
# duplicate points to take copies into account
|
# 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
|
# find out convex hull
|
||||||
my $convex_hull = convex_hull(\@points);
|
my $convex_hull = convex_hull(\@all_points);
|
||||||
|
|
||||||
# draw outlines from outside to inside
|
# draw outlines from outside to inside
|
||||||
my @skirts = ();
|
my @skirts = ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue