Preserve LinuxCNC M61 tool-number line

This commit is contained in:
CNC Local
2026-05-22 05:15:58 +08:00
parent d69b536d1d
commit bd04af8d8e
6 changed files with 40 additions and 1 deletions

View File

@@ -399,7 +399,7 @@ void USE_TOOL_LENGTH_OFFSET(const EmcPose &) {
void CHANGE_TOOL_NUMBER(int number) {
if (active_sink) {
active_sink->select_tool(number);
active_sink->change_tool(0);
active_sink->change_tool(event_line());
}
}