Skip to content
Snippets Groups Projects
Commit 38c6eaae authored by Nathan Letwory's avatar Nathan Letwory
Browse files

Fix: framesRendered wasn't read when checking sessions from stage Rendering.

This would always print percentage of 0% until the session
is completely rendered.
parent cd103cba
No related branches found
No related tags found
No related merge requests found
...@@ -75,8 +75,8 @@ def _xmlsessions_to_oresessions(sessions, stage=None): ...@@ -75,8 +75,8 @@ def _xmlsessions_to_oresessions(sessions, stage=None):
s = session['title'] s = session['title']
if stage: if stage:
s = s + ' (' + stage + ')' s = s + ' (' + stage + ')'
sinfo = OreSession(session['sessionId'], s) sinfo = OreSession(session['sessionId'], s)
if stage in {'Completed', 'Active'}: if stage in {'Rendering', 'Completed', 'Active'}:
sinfo.frames = session['framesRendered'] sinfo.frames = session['framesRendered']
sinfo.startframe = session['startFrame'] sinfo.startframe = session['startFrame']
sinfo.endframe = session['endFrame'] sinfo.endframe = session['endFrame']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment