mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2026-01-04 18:54:11 +08:00
Merge pull request #222 from AustinMroz/main
Support comma separated types with get/set nodes
This commit is contained in:
commit
46f9ec2c24
@ -449,7 +449,7 @@ app.registerExtension({
|
||||
if (this.outputs[0].type !== '*' && this.outputs[0].links) {
|
||||
this.outputs[0].links.filter(linkId => {
|
||||
const link = node.graph.links[linkId];
|
||||
return link && (link.type !== this.outputs[0].type && link.type !== '*');
|
||||
return link && (!link.type.split(",").includes(this.outputs[0].type) && link.type !== '*');
|
||||
}).forEach(linkId => {
|
||||
node.graph.removeLink(linkId);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user