mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Update generationSlice.ts
This commit is contained in:
parent
28eaffa188
commit
c977d295f5
@ -276,8 +276,13 @@ 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 = perlin;
|
||||
}
|
||||
else
|
||||
{
|
||||
state.perlin = 0;
|
||||
}
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user