extract png loader from kiri worker so it can be shared with mesh

This commit is contained in:
Stewart Allen 2022-02-25 23:49:51 -05:00
commit 87df96d23f
6 changed files with 280 additions and 245 deletions

View file

@ -301,8 +301,8 @@ const client = exports({
if (reply.progress) {
progress(reply.progress);
}
if (reply.done) {
output(reply.done);
if (reply.vertices) {
output(reply.vertices);
}
}, [ data.png ]);
},