diff options
author | Howard Stearns <howard.stearns@gmail.com> | 2022-05-24 09:33:06 -0700 |
---|---|---|
committer | Howard Stearns <howard.stearns@gmail.com> | 2022-05-24 09:33:06 -0700 |
commit | f55c1ff40562a6f46a5508c7308d335a9aadb68f (patch) | |
tree | 777af66d687ff32f4b78ec57f883c4b55a648043 /indra | |
parent | 10f56db475316433586fee273cd442b143a31c08 (diff) |
SL-15937 - forget the +1
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llvocache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvocache.cpp b/indra/newview/llvocache.cpp index 89dab23399..3e5f1bdc7f 100644 --- a/indra/newview/llvocache.cpp +++ b/indra/newview/llvocache.cpp @@ -399,7 +399,7 @@ void LLVOCacheEntry::updateDebugSettings() // a percentage of draw distance beyond which all objects outside of view frustum will be unloaded, regardless of pixel threshold static LLCachedControl<F32> rear_max_radius_frac(gSavedSettings,"SceneLoadRearMaxRadiusFraction"); - const F32 min_radius_plus_one = sNearRadius; + const F32 min_radius_plus_one = sNearRadius + 1.f; const F32 max_radius = rear_max_radius_frac * gAgentCamera.mDrawDistance; const F32 clamped_max_radius = llclamp(max_radius, min_radius_plus_one, draw_radius); // [sNearRadius, mDrawDistance] sRearFarRadius = min_radius_plus_one + ((clamped_max_radius - min_radius_plus_one) * adjust_factor); |