Feature Request: Add an option to toggle Animating when going into Appearance Mode, option is in vanity->main preferences
This commit is contained in:
@@ -689,6 +689,19 @@
|
||||
<real>1.0</real>
|
||||
</array>
|
||||
</map>
|
||||
<key>LiruCustomizeAnim</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>Whether or not to animate when going into appearance mode.</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
<string>Boolean</string>
|
||||
<key>Value</key>
|
||||
<boolean>1</boolean>
|
||||
<key>IsCOA</key>
|
||||
<integer>1</integer>
|
||||
</map>
|
||||
<key>LiruGridInTitle</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
|
||||
@@ -123,6 +123,7 @@ void LLPrefsAscentVan::refreshValues()
|
||||
mDisableChatAnimation = gSavedSettings.getBOOL("SGDisableChatAnimation");
|
||||
mAddNotReplace = gSavedSettings.getBOOL("LiruAddNotReplace");
|
||||
mTurnAround = gSavedSettings.getBOOL("TurnAroundWhenWalkingBackwards");
|
||||
mCustomizeAnim = gSavedSettings.getBOOL("LiruCustomizeAnim");
|
||||
mAnnounceSnapshots = gSavedSettings.getBOOL("AnnounceSnapshots");
|
||||
mAnnounceStreamMetadata = gSavedSettings.getBOOL("AnnounceStreamMetadata");
|
||||
mUnfocusedFloatersOpaque = gSavedSettings.getBOOL("FloaterUnfocusedBackgroundOpaque");
|
||||
@@ -196,6 +197,7 @@ void LLPrefsAscentVan::cancel()
|
||||
gSavedSettings.setBOOL("SGDisableChatAnimation", mDisableChatAnimation);
|
||||
gSavedSettings.setBOOL("LiruAddNotReplace", mAddNotReplace);
|
||||
gSavedSettings.setBOOL("TurnAroundWhenWalkingBackwards", mTurnAround);
|
||||
gSavedSettings.setBOOL("LiruCustomizeAnim", mCustomizeAnim);
|
||||
gSavedSettings.setBOOL("AnnounceSnapshots", mAnnounceSnapshots);
|
||||
gSavedSettings.setBOOL("AnnounceStreamMetadata", mAnnounceStreamMetadata);
|
||||
gSavedSettings.setBOOL("FloaterUnfocusedBackgroundOpaque", mUnfocusedFloatersOpaque);
|
||||
|
||||
@@ -59,6 +59,7 @@ private:
|
||||
bool mDisableChatAnimation;
|
||||
bool mAddNotReplace;
|
||||
bool mTurnAround;
|
||||
bool mCustomizeAnim;
|
||||
bool mAnnounceSnapshots;
|
||||
bool mAnnounceStreamMetadata;
|
||||
bool mUnfocusedFloatersOpaque;
|
||||
|
||||
@@ -2447,9 +2447,12 @@ void LLAgentCamera::changeCameraToCustomizeAvatar()
|
||||
at.normalize();
|
||||
gAgent.resetAxes(at);
|
||||
|
||||
gAgent.sendAnimationRequest(ANIM_AGENT_CUSTOMIZE, ANIM_REQUEST_START);
|
||||
gAgent.setCustomAnim(TRUE);
|
||||
gAgentAvatarp->startMotion(ANIM_AGENT_CUSTOMIZE);
|
||||
if (gSavedSettings.getBOOL("LiruCustomizeAnim"))
|
||||
{
|
||||
gAgent.sendAnimationRequest(ANIM_AGENT_CUSTOMIZE, ANIM_REQUEST_START);
|
||||
gAgent.setCustomAnim(TRUE);
|
||||
gAgentAvatarp->startMotion(ANIM_AGENT_CUSTOMIZE);
|
||||
}
|
||||
LLMotion* turn_motion = gAgentAvatarp->findMotion(ANIM_AGENT_CUSTOMIZE);
|
||||
|
||||
if (turn_motion)
|
||||
|
||||
@@ -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 attachments 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="LiruCustomizeAnim" follows="top" height="16" label="Animate when going into Appearance Mode" name="customize_anim"/>
|
||||
<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"/>
|
||||
<check_box bottom_delta="-20" control_name="AnnounceSnapshots" follows="top" height="16" label="Announce when someone takes a snapshot" tool_tip="Won't announce for people who hide the fact that they are taking a snapshot." name="announce_snapshots"/>
|
||||
<check_box bottom_delta="-20" control_name="AnnounceStreamMetadata" follows="top" height="16" label="Announce music stream's metadata in local chat when tuned in" tool_tip="When a new song comes on, a message will be displayed in local chat with available information about the track." name="announce_stream_metadata"/>
|
||||
|
||||
Reference in New Issue
Block a user