From 56f6b067eca5b7f4ce34e12b1a91daedfc7e6919 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 16 May 2018 12:55:14 +0200 Subject: test script --- test-mogrify.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test-mogrify.py') diff --git a/test-mogrify.py b/test-mogrify.py index d7d7d9d..348d805 100644 --- a/test-mogrify.py +++ b/test-mogrify.py @@ -185,6 +185,8 @@ if __name__ == '__main__': render_path = render_dir + "ren_{:05d}.png".format(i+1) if A_dir is not None: sequence_path = A_dir.format(A_offset+i+1) + if not os.path.exists(sequence_path) and opt.how_many > 99999: + break # A_offset # save rendered image -- cgit v1.2.3-70-g09d2