diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-09-07 15:05:08 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-09-07 15:05:08 +0100 |
| commit | c82fb2010c8ce4741f30f91816fca76d6de98dbf (patch) | |
| tree | 867ff492cb4cdbe084175eae7c1b9d27f7a04751 /rotord/src/rendercontext.h | |
| parent | 6f0f7600e22590b28fc6b0d11a28fa7a42931e20 (diff) | |
refactored progress indicator
Diffstat (limited to 'rotord/src/rendercontext.h')
| -rw-r--r-- | rotord/src/rendercontext.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rotord/src/rendercontext.h b/rotord/src/rendercontext.h index bd37c53..8542bf1 100644 --- a/rotord/src/rendercontext.h +++ b/rotord/src/rendercontext.h @@ -76,7 +76,7 @@ namespace Rotor { if (renders.find(uid)!=renders.end()){ if (renders[uid].status==RENDERING){ - renders[uid].progress=progress; + renders[uid].progress=graph.progress; } return renders[uid]; } @@ -84,7 +84,6 @@ namespace Rotor { }; private: int state; - float progress; //for a locking process: audio analysis or rendering //thread only does one thing at once std::deque<Session_task> work_queue; std::unordered_map<string,Render_status> renders; |
