Fix for sh-1586 & sh-1654 # Alt-zooming camera flipping

meow-7.2.2
prep linden 2011-06-17 10:47:33 -04:00
parent 9d9d9197a0
commit ec6be3fdb9
1 changed files with 0 additions and 2 deletions

View File

@ -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);