diff -r 02cd1e33128c -r 9a1134beaf34 indra/newview/llagent.cpp --- a/indra/newview/llagent.cpp Sat Oct 22 06:48:07 2011 -0400 +++ b/indra/newview/llagent.cpp Sun Oct 23 07:53:45 2011 -0400 @@ -1101,20 +1101,11 @@ LLVector3 skyward = getReferenceUpVector(); - F32 look_down_limit; - F32 look_up_limit = 10.f * DEG_TO_RAD; + const F32 look_down_limit = 179.f * DEG_TO_RAD;; + const F32 look_up_limit = 1.f * DEG_TO_RAD; F32 angle_from_skyward = acos( mFrameAgent.getAtAxis() * skyward ); - if (isAgentAvatarValid() && gAgentAvatarp->isSitting()) - { - look_down_limit = 130.f * DEG_TO_RAD; - } - else - { - look_down_limit = 170.f * DEG_TO_RAD; - } - // clamp pitch to limits if ((angle >= 0.f) && (angle_from_skyward + angle > look_down_limit)) {