From 22561c0fc79bd9d645b5556790e9c270c06b31c1 Mon Sep 17 00:00:00 2001 From: MaksymS ProductEngine Date: Thu, 16 Aug 2012 01:25:50 +0300 Subject: MAINT-417 FIXED The agent_push_backward() updated with new check for reaction of key DOWN, when avatar is in 'sitting mode' and view mode is 'mouselook'. --- indra/newview/llviewerkeyboard.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/indra/newview/llviewerkeyboard.cpp b/indra/newview/llviewerkeyboard.cpp index 1aa9fd8a45..f5d3341c66 100644 --- a/indra/newview/llviewerkeyboard.cpp +++ b/indra/newview/llviewerkeyboard.cpp @@ -160,6 +160,11 @@ void agent_push_backward( EKeystate s ) camera_move_backward(s); return; } + else if (gAgentAvatarp->isSitting()) + { + gAgentCamera.changeCameraToThirdPerson(); + return; + } agent_push_forwardbackward(s, -1, LLAgent::DOUBLETAP_BACKWARD); } -- cgit v1.2.3