diff options
author | Oz Linden <oz@lindenlab.com> | 2011-05-17 18:47:51 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-05-17 18:47:51 -0400 |
commit | cb936d097fd40c743895cb35fce6b292c66e5210 (patch) | |
tree | c554c33c7576aa567ca2b32ad06ee9af83977059 /indra/newview/llpanelnearbymedia.cpp | |
parent | 32313dd3c6396324ea8f13285a69c01f38fe1cfc (diff) | |
parent | bd37b14e9217935b9d70faf04c835c9d4aeda9c7 (diff) |
pull back fix for STORM-1260 from beta branch
Diffstat (limited to 'indra/newview/llpanelnearbymedia.cpp')
-rw-r--r-- | indra/newview/llpanelnearbymedia.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelnearbymedia.cpp b/indra/newview/llpanelnearbymedia.cpp index a7f1ab28fd..2bbd15ae11 100644 --- a/indra/newview/llpanelnearbymedia.cpp +++ b/indra/newview/llpanelnearbymedia.cpp @@ -356,7 +356,7 @@ void LLPanelNearByMedia::updateListItem(LLScrollListItem* item, LLViewerMediaImp debug_str += llformat("%g/", (float)impl->getInterest()); // proximity distance is actually distance squared -- display it as straight distance. - debug_str += llformat("%g/", fsqrtf(impl->getProximityDistance())); + debug_str += llformat("%g/", (F32) sqrt(impl->getProximityDistance())); // s += llformat("%g/", (float)impl->getCPUUsage()); // s += llformat("%g/", (float)impl->getApproximateTextureInterest()); |