Unverified Commit 8e14c46a authored by Dr.Lt.Data's avatar Dr.Lt.Data Committed by GitHub
Browse files

allows connect primitive node to reroute if primitive node has type (#751)


Co-authored-by: default avatarLt.Dr.Data <lt.dr.data@gmail.com>
parent 8b82f79c
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment