mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-27 23:00:20 +08:00
do not serialize seedControl
This commit is contained in:
parent
03502bc9ad
commit
6cc52b42bb
@ -12,7 +12,8 @@ function getNumberDefaults(inputData, defaultStep) {
|
||||
|
||||
export function addSeedControlWidget(node, targetWidget, defaultValue = "randomize", values) {
|
||||
const seedControl = node.addWidget("combo", "seed control after generating", "randomize", function (v) { }, {
|
||||
values: ["fixed seed", "increment", "decrement", "randomize"]
|
||||
values: ["fixed seed", "increment", "decrement", "randomize"],
|
||||
serialize: false, // Don't include this in prompt.
|
||||
})
|
||||
seedControl.afterQueued = () => {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user