From 34428b305a437256f5db170db91506e2d94440e9 Mon Sep 17 00:00:00 2001 From: Dave Parks Date: Wed, 23 Feb 2011 17:44:11 -0600 Subject: SH-301 Cleanup -- accidentally removed a multiply by sDistanceFactor --- indra/newview/llvovolume.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra') diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 161cbe6aa9..e3cc2f2589 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -1219,6 +1219,8 @@ BOOL LLVOVolume::calcLOD() radius = getVolume()->mLODScaleBias.scaledVec(getScale()).length(); } + distance *= sDistanceFactor; + F32 rampDist = LLVOVolume::sLODFactor * 2; if (distance < rampDist) -- cgit v1.2.3