Skip to content

Commit e4aa0c3

Browse files
Merge pull request AUTOMATIC1111#15587 from AUTOMATIC1111/fix-mistake-in-#15583
fix mistake in AUTOMATIC1111#15583
2 parents a183ea4 + 6c7c176 commit e4aa0c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/processing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1617,14 +1617,14 @@ def init(self, all_prompts, all_seeds, all_subseeds):
16171617
x1, y1, x2, y2 = crop_region
16181618
mask = mask.crop(crop_region)
16191619
image_mask = images.resize_image(2, mask, self.width, self.height)
1620-
self.inpaint_full_res = False
16211620
self.paste_to = (x1, y1, x2-x1, y2-y1)
16221621
self.extra_generation_params["Inpaint area"] = "Only masked"
16231622
self.extra_generation_params["Masked area padding"] = self.inpaint_full_res_padding
16241623
else:
16251624
crop_region = None
16261625
image_mask = None
16271626
self.mask_for_overlay = None
1627+
self.inpaint_full_res = False
16281628
massage = 'Unable to perform "Inpaint Only mask" because mask is blank, switch to img2img mode.'
16291629
model_hijack.comments.append(massage)
16301630
logging.info(massage)

0 commit comments

Comments
 (0)