mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-05-15 15:48:09 +08:00
Fixed regression causing fatal errors. #429
This commit is contained in:
parent
0c4b112718
commit
62bd33a766
@ -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…
x
Reference in New Issue
Block a user