rgthree/rgthree-comfy

[feature request] have switch input default to null if no connection.

Opened this issue · 1 comments

I did a scan, but have not seen this request before. Apologies if that's been covered already.

This is important when you turn on and off groups. If a group is off, then the connection is off as well. Comfy fails..

This would be really really handy... See this thread.

https://www.reddit.com/r/comfyui/comments/18z3a41/any_way_to_default_a_node_value_int_or_float_to_0/

Thanks bunches!

I'm a little confused. The Any Switch inputs work like null in that when their muted, they are essentially null (or None in python). Same as when not connected. If there are no connected or unmuted inputs, the Any Switch output will be None.

That is all intended, and is "default to null" essentially.

Do you have an example workflow screenshot of what you mean if that is not the case?