mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-10 21:42:37 +08:00
Fix crash on virtual nodes e.g. note
This commit is contained in:
parent
34d0ae3cf1
commit
acad6072d1
@ -578,7 +578,8 @@ const ext = {
|
||||
innerNode.configure(n);
|
||||
|
||||
for (const innerWidget of innerNode.widgets ?? []) {
|
||||
const groupWidgetName = slots.widgets[i][innerWidget.name];
|
||||
const groupWidgetName = slots.widgets[i]?.[innerWidget.name];
|
||||
if(!groupWidgetName) continue;
|
||||
const groupWidget = node.widgets.find((w) => w.name === groupWidgetName);
|
||||
if (groupWidget) {
|
||||
innerWidget.value = groupWidget.value;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user