add export debug event path

This commit is contained in:
Stewart Allen 2021-06-18 15:03:00 -04:00
commit 305066a69a
4 changed files with 32 additions and 1 deletions

View file

@ -228,6 +228,9 @@ KIRI.work = {
if (reply.error) {
ondone(null, reply.error);
}
if (reply.debug) {
KIRI.api.event.emit("export.debug", reply.debug);
}
});
},

View file

@ -249,6 +249,8 @@ KIRI.worker = {
}, function(done) {
// SLA workaround
output = done;
}, function(debug) {
send.data({debug});
});
const { bounds, time, lines, bytes, distance, settings } = current.print;