add timeline for all cnc index modes
This commit is contained in:
parent
248e7952f7
commit
e055f3c157
1 changed files with 5 additions and 3 deletions
|
|
@ -103,10 +103,12 @@ CAM.init = function(kiri, api) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const clockOp = cp.ops.filter(op => op.type === '|')[0];
|
const clockOp = cp.ops.filter(op => op.type === '|')[0];
|
||||||
if (isIndexed && !clockOp) {
|
// if (isIndexed && !clockOp) {
|
||||||
|
// func.opAdd(popOp['|'].new());
|
||||||
|
// } else if (!isIndexed && clockOp) {
|
||||||
|
// func.opDel(clockOp);
|
||||||
|
if (!clockOp) {
|
||||||
func.opAdd(popOp['|'].new());
|
func.opAdd(popOp['|'].new());
|
||||||
} else if (!isIndexed && clockOp) {
|
|
||||||
func.opDel(clockOp);
|
|
||||||
} else {
|
} else {
|
||||||
func.opRender();
|
func.opRender();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue