ComfyUI_smZNodes icon indicating copy to clipboard operation
ComfyUI_smZNodes copied to clipboard

Settings (smz) Node Retains Configuration After Removal

Open dchatel opened this issue 7 months ago • 3 comments

The "Settings (smz)" node in the ComfyUI_smZNodes repository is exhibiting unexpected behavior. When this node is used in a workflow (Workflow A), it changes the overall configuration of the workflow. However, if the node is subsequently removed or disconnected from the workflow, the previous configuration is not restored.

To Reproduce: Steps to reproduce the behavior:

  1. Run Workflow A without the "Settings (smz)" node. The result is R_a.
  2. Add the "Settings (smz)" node to Workflow A and run it. The result is R_b.
  3. Remove or disconnect the "Settings (smz)" node from Workflow A and run it again. The result is still R_b, even though it should revert back to R_a.

Expected behavior: After the "Settings (smz)" node is removed or disconnected from the workflow, the configuration should revert back to its state before the node was added. In other words, running Workflow A without the "Settings (smz)" node should always yield result R_a.

Screenshots: Workflow used: Awithout.json Awith.json First run, workflow A without Settings (smz): ComfyUI_00060_ Second run, workflow A with Settings (smz): ComfyUI_00061_ Third run, workflow A without Settings (smz): ComfyUI_00062_

dchatel avatar Nov 29 '23 05:11 dchatel