mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-27 18:33:05 +08:00
I remembered
Should keep the id or node title methods viable, though not recommended
This commit is contained in:
parent
24f10ca90c
commit
f7eb33abc8
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user