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