Fix stepping again
This commit is contained in:
parent
4dcd60adc0
commit
0bced35931
@ -71,10 +71,12 @@ class ControlsWaiter {
|
|||||||
stepClick() {
|
stepClick() {
|
||||||
if (this.manager.worker.step) {
|
if (this.manager.worker.step) {
|
||||||
// Step has already been clicked so get the data from the output
|
// Step has already been clicked so get the data from the output
|
||||||
|
this.manager.worker.cancelBake();
|
||||||
const activeTab = this.manager.input.getActiveTab();
|
const activeTab = this.manager.input.getActiveTab();
|
||||||
this.manager.worker.loadingOutputs++;
|
this.manager.worker.loadingOutputs++;
|
||||||
this.app.progress = this.manager.output.outputs[activeTab].progress;
|
this.app.progress = this.manager.output.outputs[activeTab].progress;
|
||||||
this.app.bake(true);
|
this.app.bake(true);
|
||||||
|
this.manager.worker.bakeId++;
|
||||||
this.manager.worker.queueInput({
|
this.manager.worker.queueInput({
|
||||||
input: this.manager.output.getOutput(activeTab, true),
|
input: this.manager.output.getOutput(activeTab, true),
|
||||||
inputNum: activeTab,
|
inputNum: activeTab,
|
||||||
|
Loading…
Reference in New Issue
Block a user