Files
BloodwolfbandClaude Opus 5.5 74f88e177a Add From Image mode to Hot Resolution Mode Switch (0.2.0)
A third mode that outputs the size of an image plugged into a new
optional image input, replacing the separate Get Image Size node that
otherwise sits next to the switch. The input is lazy, so whatever feeds
it only runs in From Image mode. It's always visible rather than hidden
by mode, since hiding a socket would drop its wire on every mode flip.
Errors clearly if From Image is selected with nothing connected.

The new input is declared last and is a socket, not a widget, so it
takes no widgets_values slot - existing saved workflows load unchanged.

Also fixes check_lazy_status in both nodes. The executor passes a
wired-but-pending lazy input as None but omits an unwired one entirely,
and requesting an unwired input raises an unhelpful NodeInputError. Hot
Lazy Switch requested the selected slot whether or not it was wired, so
selecting an empty slot never reached its own clear "not connected"
message. Both nodes now only request inputs that are actually wired.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 01:37:34 -05:00
..