mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-06-21 23:39:35 +08:00
fixed connections from primitives to inputtype *
This commit is contained in:
parent
f6e1a462b8
commit
c9b11405f5
@ -260,6 +260,9 @@ app.registerExtension({
|
||||
|
||||
onConnectOutput(slot, type, input, target_node, target_slot) {
|
||||
// Fires before the link is made allowing us to reject it if it isn't valid
|
||||
if (input.type == "*") {
|
||||
return true;
|
||||
}
|
||||
|
||||
// No widget, we cant connect
|
||||
if (!input.widget) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user