summaryrefslogtreecommitdiff
path: root/indra/newview/llface.cpp
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2024-08-26 17:28:34 -0700
committerBrad Linden <brad@lindenlab.com>2024-08-26 17:28:34 -0700
commit124f0711afd504847f3c4cc96f1f5c000f7f58b0 (patch)
tree01c8577658901d852d26f30203f631359f2f0923 /indra/newview/llface.cpp
parent39c7f149e4d38232469473b0275028485493b4ec (diff)
parent50dc4cbdf9640601ca164086bee4f3a7b91868ca (diff)
Merge remote-tracking branch 'origin/release/2024.08-DeltaFPS' into develop
Diffstat (limited to 'indra/newview/llface.cpp')
-rw-r--r--indra/newview/llface.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp
index 8a6596eb1c..a8001699fe 100644
--- a/indra/newview/llface.cpp
+++ b/indra/newview/llface.cpp
@@ -2200,13 +2200,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() ;