mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-28 03:26:10 +08:00
bugfix
This commit is contained in:
parent
788bb7936a
commit
431c8d57aa
8
nodes.py
8
nodes.py
@ -2692,7 +2692,6 @@ class SoundReactive:
|
||||
sound_level_int = int(sound_level)
|
||||
return (sound_level, sound_level_int, )
|
||||
|
||||
|
||||
class GenerateNoise:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
@ -2755,7 +2754,7 @@ class RemapDepth:
|
||||
if clamp:
|
||||
image = torch.clamp(image, min=0.0, max=1.0)
|
||||
return (image, )
|
||||
|
||||
|
||||
NODE_CLASS_MAPPINGS = {
|
||||
"INTConstant": INTConstant,
|
||||
"FloatConstant": FloatConstant,
|
||||
@ -2808,7 +2807,7 @@ NODE_CLASS_MAPPINGS = {
|
||||
"ReferenceOnlySimple3": ReferenceOnlySimple3,
|
||||
"SoundReactive": SoundReactive,
|
||||
"GenerateNoise": GenerateNoise,
|
||||
"RemapDepth": RemapDepth
|
||||
"RemapDepth": RemapDepth,
|
||||
}
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {
|
||||
"INTConstant": "INT Constant",
|
||||
@ -2861,6 +2860,5 @@ NODE_DISPLAY_NAME_MAPPINGS = {
|
||||
"ReferenceOnlySimple3": "ReferenceOnlySimple3",
|
||||
"SoundReactive": "SoundReactive",
|
||||
"GenerateNoise": "GenerateNoise",
|
||||
"RemapDepth": "RemapDepth"
|
||||
|
||||
"RemapDepth": "RemapDepth",
|
||||
}
|
||||
@ -273,7 +273,7 @@ app.registerExtension({
|
||||
this.title = "Get_" + setter.widgets[0].value;
|
||||
|
||||
if (app.ui.settings.getSettingValue("KJNodes.nodeAutoColor")){
|
||||
setColorAndBgColor.call(this, type);
|
||||
setColorAndBgColor.call(this, linkType);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user