mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Fix regression in start perimeters at non-overhangs. #1442
This commit is contained in:
@@ -69,9 +69,10 @@ sub subdivide {
|
||||
sub concave_points {
|
||||
my $self = shift;
|
||||
|
||||
my @points = @{$self->pp};
|
||||
return map $self->[$_],
|
||||
grep Slic3r::Geometry::angle3points(@points[$_, $_-1, $_+1]) < PI - epsilon,
|
||||
my @points = @$self;
|
||||
my @points_pp = @{$self->pp};
|
||||
return map $points[$_],
|
||||
grep Slic3r::Geometry::angle3points(@points_pp[$_, $_-1, $_+1]) < PI - epsilon,
|
||||
-1 .. ($#points-1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user