HOTFIX: Patched the conflict issue between the Combo Refresh feature and PrimitiveNodes.

This commit is contained in:
Lt.Dr.Data 2023-05-30 15:26:45 +09:00
parent 560e9f7a43
commit 08abd838b8
1 changed files with 5 additions and 0 deletions

View File

@ -1424,6 +1424,11 @@ export class ComfyApp {
const def = defs[node.type];
// HOTFIX: The current patch is designed to prevent the rest of the code from breaking due to primitive nodes,
// and additional work is needed to consider the primitive logic in the refresh logic.
if(!def)
continue;
for(const widgetNum in node.widgets) {
const widget = node.widgets[widgetNum]
if(widget.type == "combo" && def["input"]["required"][widget.name] !== undefined) {