对齐 LinuxCNC NURBS 事件行号

This commit is contained in:
cnc
2026-05-24 22:02:46 +08:00
parent dd4b7d9314
commit 86734622d7
2 changed files with 4 additions and 2 deletions

View File

@@ -411,7 +411,7 @@ void NURBS_G5_FEED(int lineno, const std::vector<NURBS_CONTROL_POINT> &points, u
return;
}
for (const auto &point : points) {
active_sink->straight_feed(lineno, nurbs_plane_point_to_pose(point, plane));
active_sink->straight_feed(event_line(lineno), nurbs_plane_point_to_pose(point, plane));
}
}
@@ -420,7 +420,7 @@ void NURBS_G6_FEED(int lineno, const std::vector<NURBS_G6_CONTROL_POINT> &points
return;
}
for (const auto &point : points) {
active_sink->straight_feed(lineno, nurbs_plane_point_to_pose(point, plane));
active_sink->straight_feed(event_line(lineno), nurbs_plane_point_to_pose(point, plane));
}
}