mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-09 21:04:41 +08:00
bugfix on deleting node connected to Set node
This commit is contained in:
parent
bec42252c6
commit
5dcda71011
@ -96,10 +96,11 @@ app.registerExtension({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (slotType == 2 && !isChangeConnect) {
|
if (slotType == 2 && !isChangeConnect) {
|
||||||
this.outputs[slot].type = '*';
|
if (this.outputs && this.outputs[slot]) {
|
||||||
this.outputs[slot].name = '*';
|
this.outputs[slot].type = '*';
|
||||||
|
this.outputs[slot].name = '*';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
//On Connect
|
//On Connect
|
||||||
if (link_info && node.graph && slotType == 1 && isChangeConnect) {
|
if (link_info && node.graph && slotType == 1 && isChangeConnect) {
|
||||||
const fromNode = node.graph._nodes.find((otherNode) => otherNode.id == link_info.origin_id);
|
const fromNode = node.graph._nodes.find((otherNode) => otherNode.id == link_info.origin_id);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user