Skip to content

Commit

Permalink
Fix bug with workflow not registering change.
Browse files Browse the repository at this point in the history
There was an issue when only the class type of a node changed with all the
inputs staying the same.
  • Loading branch information
comfyanonymous committed Jul 16, 2024
1 parent 1305fb2 commit 136c93c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 136c93c

Please sign in to comment.