summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawable.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2013-03-14 13:22:23 -0500
committerDave Parks <davep@lindenlab.com>2013-03-14 13:22:23 -0500
commitcc2e0caa5f26baf29ce6cccb120ea95621cfe038 (patch)
tree834c2fe3d146430c22154009c74d8f16acc1d228 /indra/newview/lldrawable.cpp
parent09d48157858f341138b8b6acf98c05173768811b (diff)
Fix for broken LoD.
Reviewed by Graham.
Diffstat (limited to 'indra/newview/lldrawable.cpp')
-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();
}
}