diff options
author | Dave Parks <davep@lindenlab.com> | 2011-02-23 17:44:11 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-02-23 17:44:11 -0600 |
commit | 34428b305a437256f5db170db91506e2d94440e9 (patch) | |
tree | 2538298f1d8beba4506e223739a7cc115135973a /indra/newview/llvovolume.cpp | |
parent | 2d01424e25f0ecfddae753032fe18e451771476f (diff) |
SH-301 Cleanup -- accidentally removed a multiply by sDistanceFactor
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r-- | indra/newview/llvovolume.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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)
|