diff options
author | Richard Linden <none@none> | 2013-06-18 23:42:59 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-06-18 23:42:59 -0700 |
commit | 8977f43230bda6d7f814e770ba574d016a3875fa (patch) | |
tree | 16b30705c490a250893699c486e63d4d97c0003f /indra/llui/llstatbar.cpp | |
parent | 1bc1d532cff1539bb5366f87b602970f1d2a8929 (diff) | |
parent | d136c4c29686c565b5a46503aa67a9c958b4145d (diff) |
Automated merge with bundle:d:\code\viewer-interesting+c:\users\richard\appdata\local\temp\thg.7jrj8n\https__bitbucket.org_lindenlab_viewer-interesting_jch9cd.hg
Diffstat (limited to 'indra/llui/llstatbar.cpp')
-rwxr-xr-x | indra/llui/llstatbar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llstatbar.cpp b/indra/llui/llstatbar.cpp index 6966df8213..d3cc2733e6 100755 --- a/indra/llui/llstatbar.cpp +++ b/indra/llui/llstatbar.cpp @@ -284,7 +284,7 @@ void LLStatBar::draw() // draw background bar. gl_rect_2d(bar_left, bar_top, bar_right, bar_bottom, LLColor4(0.f, 0.f, 0.f, 0.25f)); - if (frame_recording.getNumPeriods() == 0) + if (frame_recording.getNumRecordedPeriods() == 0) { // No data, don't draw anything... return; @@ -315,7 +315,7 @@ void LLStatBar::draw() if (mDisplayHistory && (mCountFloatp || mEventFloatp || mSampleFloatp)) { - const S32 num_values = frame_recording.getNumPeriods() - 1; + const S32 num_values = frame_recording.getNumRecordedPeriods() - 1; F32 begin = 0; F32 end = 0; S32 i; |