mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
fix(ui): ensure origin is set correctly for generate tab batches
This prevents an issue in the image viewer's logic for simulating the progress image "resolving" to a completed image
This commit is contained in:
@@ -35,8 +35,6 @@ const enqueueGenerate = async (store: AppStore, prepend: boolean) => {
|
||||
|
||||
const state = getState();
|
||||
|
||||
const destination = 'generate';
|
||||
|
||||
const model = state.params.model;
|
||||
if (!model) {
|
||||
log.error('No model found in state');
|
||||
@@ -105,8 +103,8 @@ const enqueueGenerate = async (store: AppStore, prepend: boolean) => {
|
||||
prepend,
|
||||
seedNode: seed,
|
||||
positivePromptNode: positivePrompt,
|
||||
origin: 'canvas',
|
||||
destination,
|
||||
origin: 'generate',
|
||||
destination: 'generate',
|
||||
})
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user