mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 17:19:04 +08:00
Oops. Somehow I missed this when doing interactive add.
This commit is contained in:
parent
ca78bbd88a
commit
60ca76ff05
@ -5,7 +5,7 @@ use warnings;
|
||||
use Math::Clipper qw();
|
||||
use Scalar::Util qw(reftype);
|
||||
use Slic3r::Geometry qw(A B polyline_remove_parallel_continuous_edges polyline_remove_acute_vertices
|
||||
move_points same_point);
|
||||
polyline_lines move_points same_point);
|
||||
|
||||
# the constructor accepts an array(ref) of points
|
||||
sub new {
|
||||
@ -61,15 +61,12 @@ sub boost_linestring {
|
||||
|
||||
sub merge_continuous_lines {
|
||||
my $self = shift;
|
||||
|
||||
polyline_remove_parallel_continuous_edges($self);
|
||||
bless $_, 'Slic3r::Point' for @$self;
|
||||
}
|
||||
|
||||
sub remove_acute_vertices {
|
||||
my $self = shift;
|
||||
polyline_remove_acute_vertices($self);
|
||||
bless $_, 'Slic3r::Point' for @$self;
|
||||
}
|
||||
|
||||
sub simplify {
|
||||
|
Loading…
x
Reference in New Issue
Block a user