I remembered

Should keep the id or node title methods viable, though not recommended
This commit is contained in:
kijai 2025-06-18 11:03:51 +03:00
parent 24f10ca90c
commit f7eb33abc8

View File

@ -806,9 +806,10 @@ The choices are loaded from 'custom_dimensions.json' in the nodes folder.
return (latent, int(width), int(height),)
class WidgetToString:
# @classmethod
# def IS_CHANGED(cls, **kwargs):
# return float("NaN")
@classmethod
def IS_CHANGED(cls, id, node_title, any_input, **kwargs):
if any_input is not None and (id != 0 or node_title != ""):
return float("NaN")
@classmethod
def INPUT_TYPES(cls):