diff options
author | Dave Parks <davep@lindenlab.com> | 2010-10-14 11:27:19 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-10-14 11:27:19 -0500 |
commit | ea2fa54635f5180189db0a240fc11ca91df6541c (patch) | |
tree | 89e047d2577dd507fb20ee7d20186b568641e745 /indra/newview/llvovolume.cpp | |
parent | c0d882fbff8b0bae584b25f57ebe614aeada6034 (diff) |
Make radius on viewer match radius on simulator for streaming cost estimation.
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 8e8ece829b..06c6fe74ce 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -3213,7 +3213,7 @@ F32 LLVOVolume::getStreamingCost() { const LLSD& header = gMeshRepo.getMeshHeader(getVolume()->getParams().getSculptID()); - F32 radius = getRadius(); + F32 radius = getScale().length(); return LLMeshRepository::getStreamingCost(header, radius); } |