do not serialize seedControl

This commit is contained in:
flyingshutter 2023-03-31 19:18:58 +02:00
parent 03502bc9ad
commit 6cc52b42bb

View File

@ -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 = () => {