summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2014-08-27 18:53:23 +0300
committerandreykproductengine <akleshchev@productengine.com>2014-08-27 18:53:23 +0300
commitaf6e0afac80477dedab75415bba379d2b577b9d8 (patch)
tree09b56d510a0359ad603731c8c413623a2070ac24 /indra/llui
parent25547d320aaad298f6301e12ff9df3a8c37a8548 (diff)
MAINT-4368 FIXED Statistics floater - Object Cache Hit Rate, Cache Hit Rate and Cache Read latency graphs display incorrectly
Diffstat (limited to 'indra/llui')
-rwxr-xr-xindra/llui/llstatbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llstatbar.cpp b/indra/llui/llstatbar.cpp
index 1bd2bc06f4..303417c337 100755
--- a/indra/llui/llstatbar.cpp
+++ b/indra/llui/llstatbar.cpp
@@ -638,7 +638,7 @@ void LLStatBar::drawLabelAndValue( F32 value, std::string &label, LLRect &bar_re
void LLStatBar::drawTicks( F32 min, F32 max, F32 value_scale, LLRect &bar_rect )
{
- if (mAutoScaleMax || mAutoScaleMin)
+ if (!llisnan(min) && (mAutoScaleMax || mAutoScaleMin))
{
F32 u = LLSmoothInterpolation::getInterpolant(10.f);
mFloatingTargetMinBar = llmin(min, lerp(mFloatingTargetMinBar, min, u));