mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Fixed regression preventing arcs to be generated at all (center detection is still buggy)
This commit is contained in:
@@ -28,6 +28,8 @@ sub split_at {
|
||||
|
||||
$point = Slic3r::Point->new($point);
|
||||
|
||||
$self->deserialize;
|
||||
|
||||
# find index of point
|
||||
my $i = -1;
|
||||
for (my $n = 0; $n <= $#{$self->polygon}; $n++) {
|
||||
@@ -50,6 +52,7 @@ sub split_at {
|
||||
|
||||
sub split_at_first_point {
|
||||
my $self = shift;
|
||||
$self->deserialize;
|
||||
return $self->split_at($self->polygon->[0]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user