reduce memory footprint of sla mode
This commit is contained in:
parent
1c84425132
commit
1589a63ec0
4 changed files with 37 additions and 21 deletions
|
|
@ -32,7 +32,14 @@ let gs_kiri_export = exports;
|
|||
case 'SLA': return exportPrintSLA(currentPrint);
|
||||
}
|
||||
} else {
|
||||
API.function.print(exportPrint);
|
||||
switch (API.mode.get()) {
|
||||
case 'SLA':
|
||||
API.function.slice(exportPrint);
|
||||
break;
|
||||
default:
|
||||
API.function.print(exportPrint);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue