convert preview path to async function. remove shared array from animation direct list

This commit is contained in:
Stewart Allen 2022-10-16 01:06:39 -04:00
commit e970d377b2
7 changed files with 26 additions and 22 deletions

View file

@ -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')