mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-05 21:14:01 -06:00
More integration of Slic3r::Point::XS
This commit is contained in:
parent
159a009f96
commit
c9749ca3b3
9 changed files with 80 additions and 17 deletions
|
@ -243,7 +243,7 @@ sub chained_path {
|
|||
: [ map { $_->[0], $_->[-1] } @my_paths ];
|
||||
while (@my_paths) {
|
||||
# find nearest point
|
||||
my $start_index = $start_near
|
||||
my $start_index = defined $start_near
|
||||
? Slic3r::Geometry::nearest_point_index($start_near, $endpoints)
|
||||
: 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue