diff options
author | Dave Parks <davep@lindenlab.com> | 2011-07-06 12:32:44 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-07-06 12:32:44 -0500 |
commit | 1a5f978ca8eab965e89783b0476d52be4c2b185c (patch) | |
tree | 258acfc21c8639bc6131bb58ccaf09c0e465cea9 /indra/newview/llvovolume.cpp | |
parent | e2ddeb5e5f23b360397e5ca1e8bdcf165245df9e (diff) |
SH-1988 Fix for using diameter instead of radius for streaming cost.
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r-- | indra/newview/llvovolume.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index e6da8eb89d..4723ec9bd1 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -3096,7 +3096,7 @@ U32 LLVOVolume::getRenderCost(std::set<LLUUID> &textures) const F32 LLVOVolume::getStreamingCost(S32* bytes, S32* visible_bytes) { - F32 radius = getScale().length(); + F32 radius = getScale().length()*0.5f; if (isMesh()) { |