fix(build): to_point() for next_point seam-gap fallback in GCode.cpp
This commit is contained in:
@@ -10399,7 +10399,7 @@ std::string GCode::extrude_loop(ExtrusionLoop loop, std::string description, dou
|
||||
|
||||
// can happen if seam_gap is null
|
||||
if (next_point == current_point) {
|
||||
next_point = paths.back().polyline.points[paths.back().polyline.points.size() - 2];
|
||||
next_point = paths.back().polyline.points[paths.back().polyline.points.size() - 2].to_point();
|
||||
}
|
||||
|
||||
Point a = next_point; // second point
|
||||
|
||||
Reference in New Issue
Block a user