MAINT-4368 FIXED Statistics floater - Object Cache Hit Rate, Cache Hit Rate and Cache Read latency graphs display incorrectly

andreykproductengine 2014-08-27 18:53:23 +03:00
parent 25547d320a
commit af6e0afac8
1 changed files with 1 additions and 1 deletions

View File

@ -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));