fix line group control
This commit is contained in:
parent
3781f7ce30
commit
0c0046b1c5
2 changed files with 5 additions and 1 deletions
|
|
@ -420,13 +420,17 @@
|
|||
return;
|
||||
}
|
||||
if (lastOut) {
|
||||
const op = out.point, lp = lastOut.point,
|
||||
moved = (op.x !== lp.x) || (op.y !== lp.y) || (op.z !== lp.z);;
|
||||
if (out.emit) {
|
||||
// if (!moved) return;
|
||||
if (!lastOut.emit || (ckspeed && out.speed !== lastOut.speed)) {
|
||||
current = newPolygon().setOpen();
|
||||
current.push(lastOut.point);
|
||||
current.color = hsv2rgb({h:out.speed/maxspd, s:1, v:1}, true);
|
||||
pushPrint(out.tool, current);
|
||||
}
|
||||
// current.color = hsv2rgb({h:out.speed/maxspd, s:1, v:1}, true);
|
||||
current.push(out.point);
|
||||
} else {
|
||||
if (lastOut.emit) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue