aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-18 16:36:34 +0300
committerAUTOMATIC <16777216c@gmail.com>2022-09-18 16:36:34 +0300
commite78c368eb3931ec51000d3653ec0a9538e4cadf1 (patch)
tree944212cca07730da0153d55a83303efe9c35e8ab
parent7476593014404314f06928ee500bc281a51de5cd (diff)
prevent live previews from showing previous picture
-rw-r--r--modules/ui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/ui.py b/modules/ui.py
index ada84d33..677d1649 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -202,6 +202,8 @@ def check_progress_call():
def check_progress_call_initial():
shared.state.job_count = -1
+ shared.state.current_latent = None
+ shared.state.current_image = None
return check_progress_call()