Comfy-Org / Comfy-Org/ComfyUI

Refreshing (button on menu) crashes if a number primitive is on the graph

Open
#610 0 comments 0 reactions 0 assignees View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 10h
Merged PRs (30d)
153

Description

Add a KSampler
Convert seed to input
Connect primitive to it
Refresh via R or the button on the menu

```
Uncaught (in promise) TypeError: def is undefined
refreshComboInNodes http://127.0.0.1:8188/scripts/app.js:1259
onclick http://127.0.0.1:8188/scripts/ui.js:583
keybindListener http://127.0.0.1:8188/extensions/core/keybinds.js:70
init http://127.0.0.1:8188/extensions/core/keybinds.js:74
invokeExtensionsAsync http://127.0.0.1:8188/scripts/app.js:88
#invokeExtensionsAsync http://127.0.0.1:8188/scripts/app.js:85
setup http://127.0.0.1:8188/scripts/app.js:851
async* http://127.0.0.1:8188/:12
```
Looks like its trying to refresh the control_after_generate combo
Should just ignore combos that don't exist in the node definition

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.