diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2013-11-19 19:56:25 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2013-11-19 19:57:44 +0400 |
commit | 38c6eaaee5eff61c7f7c63e314ca4d6dd821ad18 (patch) | |
tree | 4cf138d5ba87999cd2309695ab46b5f69d159851 /render_renderfarmfi | |
parent | cd103cbac5c5d80d94e19cfb84fe768e82601d6f (diff) |
Fix: framesRendered wasn't read when checking sessions from stage Rendering.
This would always print percentage of 0% until the session
is completely rendered.
Diffstat (limited to 'render_renderfarmfi')
-rw-r--r-- | render_renderfarmfi/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/render_renderfarmfi/utils.py b/render_renderfarmfi/utils.py index 14d2483d..ae54fd1e 100644 --- a/render_renderfarmfi/utils.py +++ b/render_renderfarmfi/utils.py @@ -75,8 +75,8 @@ def _xmlsessions_to_oresessions(sessions, stage=None): s = session['title'] if stage: s = s + ' (' + stage + ')' - sinfo = OreSession(session['sessionId'], s) - if stage in {'Completed', 'Active'}: + sinfo = OreSession(session['sessionId'], s) + if stage in {'Rendering', 'Completed', 'Active'}: sinfo.frames = session['framesRendered'] sinfo.startframe = session['startFrame'] sinfo.endframe = session['endFrame'] |