mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-21 22:07:07 +08:00
remove debugging code
This commit is contained in:
parent
f23d37a2d3
commit
8ebe857105
@ -1248,14 +1248,14 @@ export class ComfyApp {
|
|||||||
|
|
||||||
api.addEventListener("progress", ({ detail }) => {
|
api.addEventListener("progress", ({ detail }) => {
|
||||||
if (this.workflowManager.activePrompt?.workflow
|
if (this.workflowManager.activePrompt?.workflow
|
||||||
&& this.workflowManager.activePrompt.workflow !== this.workflowManager.activeWorkflow) return console.log(this.workflowManager.activePrompt?.workflow, this.workflowManager.activeWorkflow);
|
&& this.workflowManager.activePrompt.workflow !== this.workflowManager.activeWorkflow) return;
|
||||||
this.progress = detail;
|
this.progress = detail;
|
||||||
this.graph.setDirtyCanvas(true, false);
|
this.graph.setDirtyCanvas(true, false);
|
||||||
});
|
});
|
||||||
|
|
||||||
api.addEventListener("executing", ({ detail }) => {
|
api.addEventListener("executing", ({ detail }) => {
|
||||||
if (this.workflowManager.activePrompt ?.workflow
|
if (this.workflowManager.activePrompt ?.workflow
|
||||||
&& this.workflowManager.activePrompt.workflow !== this.workflowManager.activeWorkflow) return console.log(this.workflowManager.activePrompt?.workflow, this.workflowManager.activeWorkflow);
|
&& this.workflowManager.activePrompt.workflow !== this.workflowManager.activeWorkflow) return;
|
||||||
this.progress = null;
|
this.progress = null;
|
||||||
this.runningNodeId = detail;
|
this.runningNodeId = detail;
|
||||||
this.graph.setDirtyCanvas(true, false);
|
this.graph.setDirtyCanvas(true, false);
|
||||||
@ -1264,7 +1264,7 @@ export class ComfyApp {
|
|||||||
|
|
||||||
api.addEventListener("executed", ({ detail }) => {
|
api.addEventListener("executed", ({ detail }) => {
|
||||||
if (this.workflowManager.activePrompt ?.workflow
|
if (this.workflowManager.activePrompt ?.workflow
|
||||||
&& this.workflowManager.activePrompt.workflow !== this.workflowManager.activeWorkflow) return console.log(this.workflowManager.activePrompt?.workflow, this.workflowManager.activeWorkflow);
|
&& this.workflowManager.activePrompt.workflow !== this.workflowManager.activeWorkflow) return;
|
||||||
const output = this.nodeOutputs[detail.node];
|
const output = this.nodeOutputs[detail.node];
|
||||||
if (detail.merge && output) {
|
if (detail.merge && output) {
|
||||||
for (const k in detail.output ?? {}) {
|
for (const k in detail.output ?? {}) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user