mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-13 20:45:56 +08: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
@ -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…
x
Reference in New Issue
Block a user