Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Progress bar doesn't show the correct "Rendering frame X of Y" when starting at a frame other than 0 #1037

Closed
burcam opened this issue Jan 4, 2024 · 0 comments · Fixed by #1038
Labels
question Question, not yet a bug ;)

Comments

@burcam
Copy link
Contributor

burcam commented Jan 4, 2024

Describe the issue

Calling blenderproc.renderer.render() after setting bpy.context.scene.frame_start to a value other than 0 results in the progress bar showing the wrong "X" in "Rendering frame X of Y". This also causes a display issue with the progress bar as it goes out of bounds. This is a visual bug: rendering still happens correctly.

Minimal code example

import blenderproc as bproc
import bpy
# setup frames for rendering
bpy.context.scene.frame_start = 1
bpy.context.scene.frame_end = 4
bproc.renderer.render()

Files required to run the code

No response

Expected behavior

The progress bar displays the updates based on the number of frames rendered, not the frame number.
Expected:
Expected
Actual:
Actual

BlenderProc version

Version 2.5.0 20th September 2022

@burcam burcam added the question Question, not yet a bug ;) label Jan 4, 2024
burcam added a commit to burcam/BlenderProc that referenced this issue Jan 4, 2024
The progressbar should be updated based on the number of frames completed instead of the frame number.

closes DLR-RM#1037
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question, not yet a bug ;)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant