mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Fixed regression causing fatal errors. #429
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user