summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Madarasz (Graham Linden) <graham@lindenlab.com>2013-03-14 11:22:09 -0700
committerGraham Madarasz (Graham Linden) <graham@lindenlab.com>2013-03-14 11:22:09 -0700
commitea5ddf3c9f887719eb9fe0c7908eba7d22749b44 (patch)
treedfc54d181634f2b331b62ecb5feaf7da23d123c1
parent09d48157858f341138b8b6acf98c05173768811b (diff)
Remove hard-coded cam distance hack
-rw-r--r--indra/newview/lldrawable.cpp2
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();
}
}