mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 08:05:58 +08:00
Follow-up of 878dce1fdf5f52ca8957a1b7fd1f29cb5035f233.
This commit is contained in:
parent
878dce1fdf
commit
c54b8908dd
@ -422,7 +422,7 @@ static Direction get_shortest_direction(const AvoidCrossingPerimeters::Boundary
|
||||
}
|
||||
|
||||
// Straighten the travel path as long as it does not collide with the contours stored in edge_grid.
|
||||
static std::vector<TravelPoint> simplify_travel(const AvoidCrossingPerimeters::Boundary &boundary, std::vector<TravelPoint> &travel)
|
||||
static std::vector<TravelPoint> simplify_travel(const AvoidCrossingPerimeters::Boundary &boundary, const std::vector<TravelPoint> &travel)
|
||||
{
|
||||
FirstIntersectionVisitor visitor(boundary.grid);
|
||||
std::vector<TravelPoint> simplified_path;
|
||||
|
Loading…
x
Reference in New Issue
Block a user