diff options
author | Graham Madarasz (Graham Linden) <graham@lindenlab.com> | 2013-03-14 11:22:09 -0700 |
---|---|---|
committer | Graham Madarasz (Graham Linden) <graham@lindenlab.com> | 2013-03-14 11:22:09 -0700 |
commit | ea5ddf3c9f887719eb9fe0c7908eba7d22749b44 (patch) | |
tree | dfc54d181634f2b331b62ecb5feaf7da23d123c1 | |
parent | 09d48157858f341138b8b6acf98c05173768811b (diff) |
Remove hard-coded cam distance hack
-rw-r--r-- | indra/newview/lldrawable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawable.cpp b/indra/newview/lldrawable.cpp index dc0e256ebb..235da41998 100644 --- a/indra/newview/lldrawable.cpp +++ b/indra/newview/lldrawable.cpp @@ -767,7 +767,7 @@ void LLDrawable::updateDistance(LLCamera& camera, bool force_update) } pos -= camera.getOrigin(); - mDistanceWRTCamera = 20.0f;//llround(pos.magVec(), 0.01f); + mDistanceWRTCamera = llround(pos.magVec(), 0.01f); mVObjp->updateLOD(); } } |