Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix reroute to wildcard & multi-typed slots #769

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

webfiltered
Copy link
Collaborator

Issue

Reroutes currently will not connect to nodes that do not exactly match their type.

The following result in silent auto-disconnects during onConnectionsChange callback:

  • Type to typeless (e.g. INT to *)
  • Multi-types that don't match exactly (e.g. neither INT nor INT,FLOAT will work with FLOAT,INT)
  • INT to int

New behaviour

Use the same type check the rest of the connection process uses.

Use the same type check the rest of the connection process uses.
@huchenlei huchenlei merged commit 0e01bb3 into Comfy-Org:main Sep 9, 2024
6 checks passed
@webfiltered webfiltered deleted the fix-reroute-type-check branch September 9, 2024 08:55
webfiltered added a commit to webfiltered/ComfyUI_frontend that referenced this pull request Sep 13, 2024
Use the same type check the rest of the connection process uses.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants