summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-10-14 11:27:19 -0500
committerDave Parks <davep@lindenlab.com>2010-10-14 11:27:19 -0500
commitea2fa54635f5180189db0a240fc11ca91df6541c (patch)
tree89e047d2577dd507fb20ee7d20186b568641e745 /indra/newview/llvovolume.cpp
parentc0d882fbff8b0bae584b25f57ebe614aeada6034 (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.cpp2
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);
}