diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2013-03-25 18:45:42 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2013-03-25 18:45:42 -0600 |
commit | 0ddeaa196731299e443d96e9f2797d8247c0de97 (patch) | |
tree | 80fce8f6c7751de8531e9783dd23e9748b2f22b9 /indra/newview/llface.cpp | |
parent | cf4798b8f90eebaa62dcb8817538f1e3965b6bc9 (diff) |
for SH-3927: Interesting: Viewer should send predicted camera position to simulator to control object load order
Diffstat (limited to 'indra/newview/llface.cpp')
-rw-r--r-- | indra/newview/llface.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 28e4b32793..56619563cf 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -2346,8 +2346,6 @@ F32 LLFace::calcImportanceToCamera(F32 cos_angle_to_view_dir, F32 dist) return 0.f ; } - //F32 camera_relative_speed = camera_moving_speed * (lookAt * LLViewerCamera::getInstance()->getVelocityDir()) ; - S32 i = 0 ; for(i = 0; i < FACE_IMPORTANCE_LEVEL && dist > FACE_IMPORTANCE_TO_CAMERA_OVER_DISTANCE[i][0]; ++i); i = llmin(i, FACE_IMPORTANCE_LEVEL - 1) ; |