mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fixes "use all" not setting variationAmount
Now sets to 0 when the image had variations.
This commit is contained in:
parent
179656d541
commit
5d484273ed
@ -273,6 +273,7 @@ export const optionsSlice = createSlice({
|
|||||||
if (variations && variations.length > 0) {
|
if (variations && variations.length > 0) {
|
||||||
state.seedWeights = seedWeightsToString(variations);
|
state.seedWeights = seedWeightsToString(variations);
|
||||||
state.shouldGenerateVariations = true;
|
state.shouldGenerateVariations = true;
|
||||||
|
state.variationAmount = 0;
|
||||||
} else {
|
} else {
|
||||||
state.shouldGenerateVariations = false;
|
state.shouldGenerateVariations = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user