Renamed 'node' to 'cls' in PreviewImage/Mask

This commit is contained in:
kosinkadink1@gmail.com
2025-07-10 01:53:27 -05:00
parent 5423a4f262
commit 5ee63e284b
2 changed files with 10 additions and 10 deletions

View File

@@ -105,7 +105,7 @@ class V3TestNode(io.ComfyNodeV3):
if hasattr(cls, "doohickey"):
raise Exception("The 'cls' variable leaked state on class properties between runs!")
cls.doohickey = "LOLJK"
return io.NodeOutput(some_int, image, ui=ui.PreviewImage(image))
return io.NodeOutput(some_int, image, ui=ui.PreviewImage(image, cls=cls))
class V3LoraLoader(io.ComfyNodeV3):