Make radius on viewer match radius on simulator for streaming cost estimation.

meow-7.2.2
Dave Parks 2010-10-14 11:27:19 -05:00
parent c0d882fbff
commit ea2fa54635
1 changed files with 1 additions and 1 deletions

View File

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