mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
More integration of Slic3r::Point::XS
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user