mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
Merge pull request #6796 from space-nuko/faster-xy-grid-cancellation
Make XY grid cancellation much faster
This commit is contained in:
commit
dd292a925e
@ -406,6 +406,9 @@ class Script(scripts.Script):
|
||||
grid_infotext = [None]
|
||||
|
||||
def cell(x, y):
|
||||
if shared.state.interrupted:
|
||||
return Processed(p, [], p.seed, "")
|
||||
|
||||
pc = copy(p)
|
||||
x_opt.apply(pc, x, xs)
|
||||
y_opt.apply(pc, y, ys)
|
||||
|
Loading…
Reference in New Issue
Block a user