codec and color cleanup

This commit is contained in:
Stewart Allen 2020-11-09 19:22:28 -05:00
commit 1d573b1605
8 changed files with 29 additions and 43 deletions

View file

@ -172,7 +172,7 @@ KIRI.worker = {
}, done => {
const layers = KIRI.driver.FDM.prepareRender(done.output, progress => {
send.data({ progress: 0.5 + progress * 0.5 });
}, { thin, tools });
}, { thin, tools, xspeed: mode === 'FDM' });
send.done({parsed: KIRI.codec.encode(layers)});
}, { fdm : mode === 'FDM' });
},