Fix stepping not working.

Use transferable object for sending arraybuffers to workers
This commit is contained in:
j433866 2019-05-16 10:42:07 +01:00
parent d326cad611
commit 0e850b2a85
6 changed files with 47 additions and 32 deletions

View file

@ -114,7 +114,8 @@ class OutputWaiter {
statusMessage: `Input ${inputNum} has not been baked yet.`,
error: null,
status: "inactive",
bakeId: -1
bakeId: -1,
progress: 0
};
this.outputs[inputNum] = newOutput;
@ -1300,7 +1301,6 @@ class OutputWaiter {
});
} else if (output.status === "baked" && showBaked) {
let data = this.getOutput(iNum, false).slice(0, 4096);
log.error(output);
if (typeof data !== "string") {
data = Utils.arrayBufferToStr(data);
}