Blender image sequences now generate a preview mp4 on completion

This commit is contained in:
Brett Williams
2023-05-30 21:59:04 -05:00
parent 22cfe9c24e
commit 60eeb6d5e2
9 changed files with 64 additions and 34 deletions

View File

@@ -36,7 +36,7 @@ def generate_thumbnail_for_job(job, thumb_video_path, thumb_image_path, max_widt
os.remove(in_progress_path)
# Determine best source file to use for thumbs
if job.render_status() == RenderStatus.COMPLETED: # use finished file for thumb
if job.status == RenderStatus.COMPLETED: # use finished file for thumb
source_path = job.file_list()
else:
source_path = [job.input_path] # use source if nothing else