1
0
mirror of synced 2025-02-17 11:18:33 +01:00

Fix specific-frame output to log and name files correctly.

This commit is contained in:
Jennifer Taylor 2021-08-09 19:08:41 +00:00
parent f6bd2aef54
commit ec3453ae54

View File

@ -655,7 +655,8 @@ def render_path(
)
):
if show_progress:
print(f"Rendered animation frame {i + 1}/{frames}.")
frameno = requested_frames[i] if requested_frames is not None else (i + 1)
print(f"Rendered animation frame {frameno}/{frames}.")
images.append(img)
if len(images) > 0:
@ -691,7 +692,8 @@ def render_path(
movie_transform=transform,
)
):
fullname = f"{filename}-{(i + 1):{digits}}{ext}"
frameno = requested_frames[i] if requested_frames is not None else (i + 1)
fullname = f"{filename}-{frameno:{digits}}{ext}"
try:
dirof = os.path.dirname(os.path.abspath(fullname))