From 136c93cb477e4c5c308791746583499805ab29aa Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Mon, 15 Jul 2024 20:01:49 -0400 Subject: [PATCH] Fix bug with workflow not registering change. There was an issue when only the class type of a node changed with all the inputs staying the same. --- execution.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/execution.py b/execution.py index 76225a96..8b3d116c 100644 --- a/execution.py +++ b/execution.py @@ -247,6 +247,8 @@ def recursive_output_delete_if_changed(prompt, old_prompt, outputs, current_item to_delete = True elif unique_id not in old_prompt: to_delete = True + elif class_type != old_prompt[unique_id]['class_type']: + to_delete = True elif inputs == old_prompt[unique_id]['inputs']: for x in inputs: input_data = inputs[x]