rework tab cutting to work with indexed rotations
This commit is contained in:
parent
b526791762
commit
6af1bda1ab
3 changed files with 72 additions and 11 deletions
|
|
@ -17,7 +17,7 @@ export class OpIndex extends CamOp {
|
|||
throw 'index op requires indexed stock';
|
||||
}
|
||||
let { widget, updateSlicer, computeShadows, setAxisIndex } = state;
|
||||
this.degrees = setAxisIndex(op.degrees, op.absolute);
|
||||
this.degrees = await setAxisIndex(op.degrees, op.absolute);
|
||||
// force recompute of topo
|
||||
widget.topo = undefined;
|
||||
updateSlicer();
|
||||
|
|
|
|||
Loading…
Reference in a new issue