summaryrefslogtreecommitdiff
path: root/indra/newview/llagentcamera.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-08-04 09:12:08 -0400
committerOz Linden <oz@lindenlab.com>2011-08-04 09:12:08 -0400
commitca3cea390ca44e6e6c390b390e0ebdfafd2afa9e (patch)
tree005b934f87b6c5adc0a6f84ef6f12c67d606ce37 /indra/newview/llagentcamera.cpp
parent1d9fe077a64d36272b32ae0fb1888d2b25aa1d43 (diff)
parent5451af6cca43f296e1b5654ab3e611928929c1c9 (diff)
merge changes for storm-1537 : releasable mesh branch
Diffstat (limited to 'indra/newview/llagentcamera.cpp')
-rw-r--r--indra/newview/llagentcamera.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/newview/llagentcamera.cpp b/indra/newview/llagentcamera.cpp
index c30d3b9aa3..f195c985c0 100644
--- a/indra/newview/llagentcamera.cpp
+++ b/indra/newview/llagentcamera.cpp
@@ -393,8 +393,6 @@ LLVector3 LLAgentCamera::calcFocusOffset(LLViewerObject *object, LLVector3 origi
LLQuaternion inv_obj_rot = ~obj_rot; // get inverse of rotation
LLVector3 object_extents = object->getScale();
- const LLVector4a* oe4 = object->mDrawable->getSpatialExtents();
- object_extents.set( oe4[1][0], oe4[1][1], oe4[1][2] );
// make sure they object extents are non-zero
object_extents.clamp(0.001f, F32_MAX);