improve sla visualization. remove slice view in sla mode

This commit is contained in:
Stewart Allen 2020-04-16 22:18:40 -04:00
commit 21fbb9f88a
6 changed files with 94 additions and 25 deletions

View file

@ -313,7 +313,9 @@ var gs_kiri_init = exports;
API.function.slice();
break;
case cca('p'): // prepare print
API.function.print();
if (API.mode.get() !== 'SLA') {
API.function.print();
}
break;
case cca('P'): // position widget
positionSelection();
@ -653,7 +655,6 @@ var gs_kiri_init = exports;
}
function updateDeviceName() {
console.log('update device name');
let newname = UI.deviceName.value,
selected = API.device.get(),
devs = settings().devices;