diff options
author | Richard Linden <none@none> | 2013-06-17 01:20:27 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-06-17 01:20:27 -0700 |
commit | 1cb0c974ae410479a1f72dab556ef7c9371970ee (patch) | |
tree | 91a97b4b05e8085fdad17173b7ca874bb98a8805 /indra/llui | |
parent | fc88265cffe3553803314c6e895a1e3a3c988171 (diff) | |
parent | 3f2de87340b1c831ea59e4a3ca960d49f343c9fd (diff) |
Merge
Diffstat (limited to 'indra/llui')
-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; |