From 33bbae2f47ef95f497ab7c8131b2ac6a09f77115 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Tue, 30 May 2023 17:29:47 +1000 Subject: [PATCH] fix(ui): fix missing init image when fit disabled --- .../nodes/util/graphBuilders/buildImageToImageGraph.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildImageToImageGraph.ts b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildImageToImageGraph.ts index 728d75c2ae..c7106a3f90 100644 --- a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildImageToImageGraph.ts +++ b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildImageToImageGraph.ts @@ -384,8 +384,8 @@ export const buildImageToImageGraph = (state: RootState): Graph => { }, }); } else { - // We are not resizing, so we need to set the image on the `LATENTS_TO_LATENTS` node explicitly - set(graph.nodes[LATENTS_TO_LATENTS], 'image', { + // We are not resizing, so we need to set the image on the `IMAGE_TO_LATENTS` node explicitly + set(graph.nodes[IMAGE_TO_LATENTS], 'image', { image_name: initialImage.image_name, image_origin: initialImage.image_origin, });