summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-21 03:37:49 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-21 03:37:49 +0200
commit34454dddad335b3357e384301608e949d6fc3707 (patch)
tree84964ec308eae681844a29bf2b68d6a402fbdbac
parent004802ee5fe8db4907cadefc86fda906b54da46a (diff)
un rato
-rw-r--r--live-mogrify.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/live-mogrify.py b/live-mogrify.py
index bac06ab..eaa1bb1 100644
--- a/live-mogrify.py
+++ b/live-mogrify.py
@@ -62,6 +62,9 @@ def load_first_frame(opt, data_opt):
start_img_path = os.path.join(opt.render_dir, "frame_00000.png")
if data_opt.just_copy:
copyfile(opt.start_img, start_img_path)
+ A_im = None
+ A_img = None
+ A_offset = 0
else:
print("preload {}".format(opt.start_img))
A_img = Image.open(opt.start_img).convert('RGB')