diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index b8f60fe24b..8842774d2b 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -13494,6 +13494,17 @@ Change of this parameter will affect the layout of buttons in notification toast Value 0 + TurnAroundWhenWalkingBackwards + + Comment + Turns your avatar around to face the camera when you are walking backwards. + Persist + 1 + Type + Boolean + Value + 1 + KittyFlickrLastRating Comment diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index e098988757..c82a0a39e4 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -3548,7 +3548,7 @@ BOOL LLVOAvatar::updateCharacter(LLAgent &agent) } LLVector3 velDir = getVelocity(); velDir.normalize(); - if ( mSignaledAnimations.find(ANIM_AGENT_WALK) != mSignaledAnimations.end()) + if (!gSavedSettings.getBOOL("TurnAroundWhenWalkingBackwards") && (mSignaledAnimations.find(ANIM_AGENT_WALK) != mSignaledAnimations.end())) { F32 vpD = velDir * primDir; if (vpD < -0.5f) diff --git a/indra/newview/skins/default/xui/en/panel_preferences_firestorm.xml b/indra/newview/skins/default/xui/en/panel_preferences_firestorm.xml index 10074e2558..6c3e394082 100644 --- a/indra/newview/skins/default/xui/en/panel_preferences_firestorm.xml +++ b/indra/newview/skins/default/xui/en/panel_preferences_firestorm.xml @@ -127,6 +127,19 @@ width="270" control_name="RezUnderLandGroup" tool_tip="Attempts to rez objects under the land group if you're in the land group regardless of which current group tag you're wearing."/> +