diff options
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/llfloatermodelpreview.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llvovolume.cpp | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index 14f8ccb625..7d4059f50e 100644 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -3013,7 +3013,7 @@ U32 LLModelPreview::calcResourceCost()  			F32 z_length = z_transformed.normalize();  			LLVector3 scale = LLVector3(x_length, y_length, z_length); -			F32 radius = scale.length()*debug_scale; +			F32 radius = scale.length()*0.5f*debug_scale;  			streaming_cost += LLMeshRepository::getStreamingCost(ret, radius);  		} 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())  	{	 | 
