mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06:00
Bugfix: fatal error when generating skirt for layers having only two-point thin walls. #295
This commit is contained in:
parent
1355833cbf
commit
d791315b4a
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ sub extrude_skirt {
|
||||||
(map @$_, map @{$_->thin_walls}, @layers),
|
(map @$_, map @{$_->thin_walls}, @layers),
|
||||||
(map @{$_->polyline}, map @{$_->support_fills->paths}, grep $_->support_fills, @layers),
|
(map @{$_->polyline}, map @{$_->support_fills->paths}, grep $_->support_fills, @layers),
|
||||||
);
|
);
|
||||||
return if !@points;
|
return if @points < 3; # at least three points required for a convex hull
|
||||||
|
|
||||||
# duplicate points to take copies into account
|
# duplicate points to take copies into account
|
||||||
my @all_points = map move_points($_, @points), @{$self->copies};
|
my @all_points = map move_points($_, @points), @{$self->copies};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue