mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
fix(ui): use expanded mask for paste-back when inpainting
This commit is contained in:
@@ -129,8 +129,8 @@ export const addInpaint = async ({
|
||||
|
||||
// After denoising, resize the image and mask back to original size
|
||||
g.addEdge(l2i, 'image', resizeImageToOriginalSize, 'image');
|
||||
g.addEdge(createGradientMask, 'expanded_mask_area', resizeMaskToOriginalSize, 'image');
|
||||
g.addEdge(createGradientMask, 'expanded_mask_area', expandMask, 'mask');
|
||||
g.addEdge(expandMask, 'image', resizeMaskToOriginalSize, 'image');
|
||||
|
||||
// After denoising, resize the image and mask back to original size
|
||||
// Do the paste back if we are sending to gallery (in which case we want to see the full image), or if we are sending
|
||||
|
||||
Reference in New Issue
Block a user