Commit f6b12f85 authored by NiranV's avatar NiranV

Fixed: Turn does not swap to Strafe when in Third Person Steering Mode or Right-Click drag mode.

parent dc3a8061
......@@ -244,7 +244,10 @@ void agent_turn_left( EKeystate s )
if(gAgent.isMovementLocked()) return;
if (LLToolCamera::getInstance()->mouseSteerMode())
//BD - Treat Third Person Steering and Right-Mouse steering the same as Left-Click Steering.
if (LLToolCamera::getInstance()->mouseSteerMode() ||
gAgentCamera.mThirdPersonSteeringMode ||
LLToolCamera::getInstance()->hasMouseCapture())
{
agent_slide_left(s);
}
......@@ -274,7 +277,9 @@ void agent_turn_right( EKeystate s )
if(gAgent.isMovementLocked()) return;
if (LLToolCamera::getInstance()->mouseSteerMode())
if (LLToolCamera::getInstance()->mouseSteerMode() ||
gAgentCamera.mThirdPersonSteeringMode ||
LLToolCamera::getInstance()->hasMouseCapture())
{
agent_slide_right(s);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment