mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 12:47:50 -06:00
Fixed regression causing fatal errors. #429
This commit is contained in:
parent
0c4b112718
commit
62bd33a766
2 changed files with 2 additions and 7 deletions
|
@ -5,7 +5,7 @@ use Moo;
|
||||||
has 'polygon' => (
|
has 'polygon' => (
|
||||||
is => 'rw',
|
is => 'rw',
|
||||||
required => 1,
|
required => 1,
|
||||||
handles => [qw(is_printable nearest_point_to)],
|
handles => [qw(is_printable nearest_point_to reverse)],
|
||||||
);
|
);
|
||||||
|
|
||||||
# see EXTR_ROLE_* constants in ExtrusionPath.pm
|
# see EXTR_ROLE_* constants in ExtrusionPath.pm
|
||||||
|
|
|
@ -14,7 +14,7 @@ use Slic3r::Geometry qw(PI X Y epsilon deg2rad rotate_points);
|
||||||
has 'polyline' => (
|
has 'polyline' => (
|
||||||
is => 'rw',
|
is => 'rw',
|
||||||
required => 1,
|
required => 1,
|
||||||
handles => [qw(merge_continuous_lines lines length)],
|
handles => [qw(merge_continuous_lines lines length reverse)],
|
||||||
);
|
);
|
||||||
|
|
||||||
# this integer represents the vertical thickness of the extrusion
|
# this integer represents the vertical thickness of the extrusion
|
||||||
|
@ -98,11 +98,6 @@ sub endpoints {
|
||||||
return ($self->points->[0], $self->points->[-1]);
|
return ($self->points->[0], $self->points->[-1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
sub reverse {
|
|
||||||
my $self = shift;
|
|
||||||
@{$self->points} = reverse @{$self->points};
|
|
||||||
}
|
|
||||||
|
|
||||||
sub is_printable { 1 }
|
sub is_printable { 1 }
|
||||||
|
|
||||||
sub split_at_acute_angles {
|
sub split_at_acute_angles {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue