mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-08-02 23:14:49 +08:00
allows connect primitive node to reroute if primitive node has type (#751)
Co-authored-by: Lt.Dr.Data <lt.dr.data@gmail.com>
This commit is contained in:
@@ -240,6 +240,7 @@ app.registerExtension({
|
||||
|
||||
// No widget, we cant connect
|
||||
if (!input.widget) {
|
||||
if (this.outputs[0]?.type != '*' && target_node.type == "Reroute") return true;
|
||||
if (!(input.type in ComfyWidgets)) return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user