We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28eaffa commit c977d29Copy full SHA for c977d29
invokeai/frontend/src/features/parameters/store/generationSlice.ts
@@ -276,8 +276,13 @@ export const generationSlice = createSlice({
276
} else {
277
state.threshold = threshold;
278
}
279
- if (perlin) state.perlin = perlin;
280
- if (typeof perlin === 'undefined') state.perlin = 0;
+ if (typeof perlin === 'undefined') {
+ state.perlin = perlin;
281
+ }
282
+ else
283
+ {
284
+ state.perlin = 0;
285
286
if (typeof seamless === 'boolean') state.seamless = seamless;
287
// if (typeof hires_fix === 'boolean') state.hiresFix = hires_fix; // TODO: Needs to be fixed after reorg
288
if (width) state.width = width;
0 commit comments