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

@ -172,7 +172,7 @@ function sliceEmitObjects(print, slice, groups, opt = { }) {
* @param {Object} print state object
* @param {Function} update incremental callback
*/
function prepare(widgets, settings, update) {
async function prepare(widgets, settings, update) {
let device = settings.device,
process = settings.process,
print = self.worker.print = kiri.newPrint(settings, widgets),