Bake in the right order

This commit is contained in:
j433866 2019-04-04 13:13:38 +01:00
parent 8739dd97d6
commit 76da287cca

View File

@ -139,7 +139,8 @@ class WorkerWaiter {
this.updateOutput(r.data, r.data.inputNum);
if (this.inputs.length > 0) {
const nextInput = this.inputs.pop();
const nextInput = this.inputs[0];
this.inputs.splice(0, 1);
log.debug(`Baking input ${nextInput.inputNum}.`);
this.manager.output.updateOutputStatus("baking", nextInput.inputNum);
this.manager.output.updateOutputMessage("Baking...", nextInput.inputNum);