ltdrdata / ComfyUI-Impact-Pack

Custom nodes pack for ComfyUI This custom node helps to conveniently enhance images through Detector, Detailer, Upscaler, Pipe, and more.
GNU General Public License v3.0
1.78k stars 165 forks source link

Wildcard Encode/Processor "Mode" as Input incompatible with booleans #663

Closed hobojoker closed 3 months ago

hobojoker commented 3 months ago

Wildcard Mode when used as an input will only work properly with a primitive node attached.

If you try to use it with another boolean, it will continue to operate as though it is set to Populate.

If you try to use the primitive from the Wildcard Mode, it is not compatible with other booleans. I've tried adjusting the inputs in the code, but I'm not sure why the impact nodes work differently than other nodes and when I modify it, it just stops working.

ltdrdata commented 3 months ago

The core concept of the wildcard in Impact Pack is to allow users to check how the wildcard was populated and save it in the workflow. Everything applied to the workflow must be determined before the workflow is executed. The mode is used to decide whether to pass the wildcard text as populate text before running the workflow.