diff options
| author | Dave Parks <davep@lindenlab.com> | 2024-08-23 16:35:52 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-23 16:35:52 -0500 |
| commit | 0edf6e230e4580fc61917bc823f82d983d807ccf (patch) | |
| tree | 230bb535d848844155948f29958846c8c61c2489 /indra/newview/llface.cpp | |
| parent | 1adf2d00ebd340dca72532585276279cb6911dfb (diff) | |
#2388 Texture downrezzing tune up. (#2414)
- Hold onto unreferenced textures for 30 seconds.
- Don't downres unless memory is low
- Downres when viewer is backgrounded.
Diffstat (limited to 'indra/newview/llface.cpp')
| -rw-r--r-- | indra/newview/llface.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 4dec4d5641..c69d74ad1b 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -2212,13 +2212,6 @@ bool LLFace::calcPixelArea(F32& cos_angle_to_view_dir, F32& radius) F32 dist = lookAt.getLength3().getF32(); dist = llmax(dist-size.getLength3().getF32(), 0.001f); - //ramp down distance for nearby objects - if (dist < 16.f) - { - dist /= 16.f; - dist *= dist; - dist *= 16.f; - } lookAt.normalize3fast() ; |
