Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Terminal Log node render #1042

Merged
merged 1 commit into from
Sep 8, 2024

Conversation

christian-byrne
Copy link
Contributor

@christian-byrne christian-byrne commented Sep 7, 2024

The Terminal node currently fails to render and throws the following error:

Selection_324

TerminalNode calls ComfyWidgets.STRING, which invokes addDOMWidget. addDOMWidget attempts to access the addCustomWidget property, which is defined on LGraphNode. Since TerminalNode does not subclass LGraphNode, it does not inherit properties like addCustomWidget, causing the error.

Subclassing TerminalNode resolves the issue:

Selection_325

Related:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants