mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-15 13:35:02 -05:00
fix(ui): control layers ignored in txt2img
This commit is contained in:
@@ -49,7 +49,7 @@ const enqueueCanvas = async (store: AppStore, canvasManager: CanvasManager, prep
|
||||
const base = model.base;
|
||||
|
||||
const generationMode = await canvasManager.compositor.getGenerationMode();
|
||||
const graphBuilderArg: GraphBuilderArg = { generationMode, state, canvasManager };
|
||||
const graphBuilderArg: GraphBuilderArg = { generationMode, state, manager: canvasManager };
|
||||
|
||||
switch (base) {
|
||||
case 'sdxl':
|
||||
|
||||
@@ -47,7 +47,7 @@ const enqueueGenerate = async (store: AppStore, prepend: boolean) => {
|
||||
assert(model, 'No model found in state');
|
||||
const base = model.base;
|
||||
|
||||
const graphBuilderArg: GraphBuilderArg = { generationMode: 'txt2img', state };
|
||||
const graphBuilderArg: GraphBuilderArg = { generationMode: 'txt2img', state, manager: null };
|
||||
|
||||
switch (base) {
|
||||
case 'sdxl':
|
||||
|
||||
Reference in New Issue
Block a user