mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-28 07:10:15 +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) {
|
export function addSeedControlWidget(node, targetWidget, defaultValue = "randomize", values) {
|
||||||
const seedControl = node.addWidget("combo", "seed control after generating", "randomize", function (v) { }, {
|
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 = () => {
|
seedControl.afterQueued = () => {
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user