From f7eb33abc80a2aded1b46dff0dd14d07856a7d50 Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Wed, 18 Jun 2025 11:03:51 +0300 Subject: [PATCH] I remembered Should keep the id or node title methods viable, though not recommended --- nodes/nodes.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nodes/nodes.py b/nodes/nodes.py index 1f6cf47..5c837d8 100644 --- a/nodes/nodes.py +++ b/nodes/nodes.py @@ -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):