convert preview path to async function. remove shared array from animation direct list
This commit is contained in:
parent
d4e867fd2d
commit
e970d377b2
7 changed files with 26 additions and 22 deletions
|
|
@ -19,7 +19,7 @@ if (SLA.legacy) {
|
|||
|
||||
// runs in worker. would usually be in src/mode/sla/prepare.js
|
||||
// but the SLA driver skips the prepare step because there is no path routing
|
||||
function prepare(widgets, settings, update) {
|
||||
async function prepare(widgets, settings, update) {
|
||||
root.worker.print = kiri.newPrint(settings, widgets);
|
||||
if (!SLA.wasm) {
|
||||
fetch('/wasm/kiri-sla.wasm')
|
||||
|
|
|
|||
Loading…
Reference in a new issue