mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-12-16 17:42:58 +08:00
Also add MatchType check to input_type in validation - will likely trigger when connecting to non-lazy stuff
This commit is contained in:
parent
bd78daa9a7
commit
581f8fe930
@ -24,9 +24,9 @@ def validate_node_input(
|
||||
if not received_type != input_type:
|
||||
return True
|
||||
|
||||
# If the received type is a MatchType, we can return immediately;
|
||||
# If the received type or input_type is a MatchType, we can return True immediately;
|
||||
# validation for this is handled by the frontend
|
||||
if received_type == IO.MatchType.io_type:
|
||||
if received_type == IO.MatchType.io_type or input_type == IO.MatchType.io_type:
|
||||
return True
|
||||
|
||||
# If input_type is a Combo, frontend permits a Combo output to be connected,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user