diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index fa587920c..8278934a0 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -9,6 +9,18 @@ settings_rlv.xml + SGShiftCrouchToggle + + Comment + Allow crouch toggle by holding shift + Persist + 1 + Type + Boolean + Value + 1 + + SGServerVersionChangedNofification Comment diff --git a/indra/newview/llviewerkeyboard.cpp b/indra/newview/llviewerkeyboard.cpp index dc9a4afd1..fa42fbfc0 100644 --- a/indra/newview/llviewerkeyboard.cpp +++ b/indra/newview/llviewerkeyboard.cpp @@ -87,7 +87,7 @@ void agent_toggle_down( EKeystate s ) if(KEYSTATE_UP == s) return; gAgent.moveUp(-1); - if(KEYSTATE_DOWN == s && !gAgent.getFlying()) + if(KEYSTATE_DOWN == s && !gAgent.getFlying() && gSavedSettings.getBOOL("SGShiftCrouchToggle")) { isCrouch = !isCrouch; } diff --git a/indra/newview/skins/default/xui/en-us/panel_preferences_input.xml b/indra/newview/skins/default/xui/en-us/panel_preferences_input.xml index 81aa81211..3af129daf 100644 --- a/indra/newview/skins/default/xui/en-us/panel_preferences_input.xml +++ b/indra/newview/skins/default/xui/en-us/panel_preferences_input.xml @@ -4,9 +4,10 @@ Mouse Sensitivity: - - Auto Fly Options: + + Movement Options: + Camera Options: Camera View Angle: