1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Bugfix: fatal error when generating skirt for layers having only two-point thin walls. #295

This commit is contained in:
Alessandro Ranellucci
2012-03-31 18:32:53 +02:00
parent 1355833cbf
commit d791315b4a
+1 -1
View File
@@ -338,7 +338,7 @@ sub extrude_skirt {
(map @$_, map @{$_->thin_walls}, @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
my @all_points = map move_points($_, @points), @{$self->copies};