diff --git a/invokeai/frontend/src/features/parameters/store/generationSlice.ts b/invokeai/frontend/src/features/parameters/store/generationSlice.ts index 7157b7a3df..47790277c2 100644 --- a/invokeai/frontend/src/features/parameters/store/generationSlice.ts +++ b/invokeai/frontend/src/features/parameters/store/generationSlice.ts @@ -195,8 +195,11 @@ export const generationSlice = createSlice({ } else { state.threshold = threshold; } - if (perlin) state.perlin = perlin; - if (typeof perlin === 'undefined') state.perlin = 0; + if (typeof perlin === 'undefined') { + state.perlin = 0; + } else { + state.perlin = perlin; + } if (typeof seamless === 'boolean') state.seamless = seamless; // if (typeof hires_fix === 'boolean') state.hiresFix = hires_fix; // TODO: Needs to be fixed after reorg if (width) state.width = width;