Skip to content

Commit 29454a2

Browse files
JPPhotoblessedcoolant
authored andcommitted
Update generationSlice.ts
1 parent c977d29 commit 29454a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

invokeai/frontend/src/features/parameters/store/generationSlice.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,11 @@ export const generationSlice = createSlice({
277277
state.threshold = threshold;
278278
}
279279
if (typeof perlin === 'undefined') {
280-
state.perlin = perlin;
280+
state.perlin = 0;
281281
}
282282
else
283283
{
284-
state.perlin = 0;
284+
state.perlin = perlin;
285285
}
286286
if (typeof seamless === 'boolean') state.seamless = seamless;
287287
// if (typeof hires_fix === 'boolean') state.hiresFix = hires_fix; // TODO: Needs to be fixed after reorg

0 commit comments

Comments
 (0)