diff options
author | prep linden <prep@lindenlab.com> | 2011-06-17 10:47:33 -0400 |
---|---|---|
committer | prep linden <prep@lindenlab.com> | 2011-06-17 10:47:33 -0400 |
commit | ec6be3fdb91ed5f4fb0e50977a7b0814a678af0a (patch) | |
tree | 04ca06ca5d20130286b4b21618f59b55c5741b9a /indra/newview | |
parent | 9d9d9197a05935a544e585651e7895a366cc6cae (diff) |
Fix for sh-1586 & sh-1654 # Alt-zooming camera flipping
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llagentcamera.cpp | 2 |
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); |