mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2026-05-07 23:31:19 +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),)
|
return (latent, int(width), int(height),)
|
||||||
|
|
||||||
class WidgetToString:
|
class WidgetToString:
|
||||||
# @classmethod
|
@classmethod
|
||||||
# def IS_CHANGED(cls, **kwargs):
|
def IS_CHANGED(cls, id, node_title, any_input, **kwargs):
|
||||||
# return float("NaN")
|
if any_input is not None and (id != 0 or node_title != ""):
|
||||||
|
return float("NaN")
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def INPUT_TYPES(cls):
|
def INPUT_TYPES(cls):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user