fix for gcode op before all others (no tool set)

This commit is contained in:
Stewart Allen 2022-10-25 18:29:58 -04:00
commit 99f898caec

View file

@ -469,8 +469,10 @@ kiri.load(() => {
renderMoves(id, moves, send);
} else {
last = next;
tool.pos = next.point;
toolUpdate = { mesh_move: { id, pos: next.point }};
if (tool) {
tool.pos = next.point;
toolUpdate = { mesh_move: { id, pos: next.point }};
}
renderPath(send);
}
}