Satisfy Issue 487: Walking Backwards, Turning Around
TurnAroundWhenWalkingBackwards added. Turn Around When Walking Backwards added to Vanity Main Preferences. Code borrowed, in part, from Firestorm.
This commit is contained in:
@@ -898,6 +898,17 @@ This should be as low as possible, but too low may break functionality</string>
|
||||
<key>Value</key>
|
||||
<integer>0</integer>
|
||||
</map>
|
||||
<key>TurnAroundWhenWalkingBackwards</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>Turn your avatar around to face the camera while walking backwards.</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
<string>Boolean</string>
|
||||
<key>Value</key>
|
||||
<integer>1</integer>
|
||||
</map>
|
||||
<key>EmeraldBoobMass</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
|
||||
@@ -179,6 +179,7 @@ void LLPrefsAscentVan::refreshValues()
|
||||
mShowLogScreens = !gSavedSettings.getBOOL("AscentDisableLogoutScreens");
|
||||
mDisableChatAnimation = gSavedSettings.getBOOL("SGDisableChatAnimation");
|
||||
mAddNotReplace = gSavedSettings.getBOOL("LiruAddNotReplace");
|
||||
mTurnAround = gSavedSettings.getBOOL("TurnAroundWhenWalkingBackwards");
|
||||
|
||||
//Tags\Colors ----------------------------------------------------------------------------
|
||||
mAscentUseTag = gSavedSettings.getBOOL("AscentUseTag");
|
||||
@@ -254,6 +255,7 @@ void LLPrefsAscentVan::cancel()
|
||||
gSavedSettings.setBOOL("AscentDisableLogoutScreens", !mShowLogScreens);
|
||||
gSavedSettings.setBOOL("SGDisableChatAnimation", mDisableChatAnimation);
|
||||
gSavedSettings.setBOOL("LiruAddNotReplace", mAddNotReplace);
|
||||
gSavedSettings.setBOOL("TurnAroundWhenWalkingBackwards", mTurnAround);
|
||||
|
||||
//Tags\Colors ----------------------------------------------------------------------------
|
||||
gSavedSettings.setBOOL("AscentUseTag", mAscentUseTag);
|
||||
|
||||
@@ -59,6 +59,7 @@ protected:
|
||||
BOOL mShowLogScreens;
|
||||
bool mDisableChatAnimation;
|
||||
bool mAddNotReplace;
|
||||
bool mTurnAround;
|
||||
//Tags\Colors
|
||||
BOOL mAscentUseTag;
|
||||
std::string mReportClientUUID;
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
<check_box bottom_delta="-20" control_name="AscentDisableLogoutScreens" follows="top" height="16" initial_value="true" label="Hide the Login/Logout progress screens" tool_tip="If checked, the viewer will hide the login/logout progress screen." name="disable_logout_screen_check"/>
|
||||
<check_box bottom_delta="-20" control_name="SGDisableChatAnimation" follows="top" height="16" initial_value="false" label="Disable chat, whisper and shout animations" tool_tip="Remove chat animations from your own avatar. Effect visible to everyone" name="disable_chat_animation"/>
|
||||
<check_box bottom_delta="-20" control_name="LiruAddNotReplace" follows="top" height="16" label="Add clothing and wearables instead of replacing them" tool_tip="When double clicking or pressing enter in inventory with wearables or objects selected they will be added to your outfit, instead of replacing the wearable or object currently at their target destination." name="add_not_replace"/>
|
||||
<check_box bottom_delta="-20" control_name="TurnAroundWhenWalkingBackwards" follows="top" height="16" label="Turn around when walking backwards" tool_tip="Certain AOs may turn you around even with this disabled." name="turn_around"/>
|
||||
</panel>
|
||||
<panel border="true" left="1" bottom="-190" height="180" width="500" label="Tags/Colors" name="TagsColors">
|
||||
<!-- Client tag options -->
|
||||
|
||||
Reference in New Issue
Block a user