Satisfy Issue 167: Ability to set global "add instead of wear" option in prefs
Adds debug setting LiruAddNotReplace. Adds "Add clothing and wearables instead of replacing them" to Main (General) tab of Vanity Preferences.
This commit is contained in:
@@ -178,6 +178,7 @@ void LLPrefsAscentVan::refreshValues()
|
||||
mPlayTPSound = gSavedSettings.getBOOL("OptionPlayTpSound");
|
||||
mShowLogScreens = !gSavedSettings.getBOOL("AscentDisableLogoutScreens");
|
||||
mDisableChatAnimation = gSavedSettings.getBOOL("SGDisableChatAnimation");
|
||||
mAddNotReplace = gSavedSettings.getBOOL("LiruAddNotReplace");
|
||||
|
||||
//Tags\Colors ----------------------------------------------------------------------------
|
||||
mAscentUseTag = gSavedSettings.getBOOL("AscentUseTag");
|
||||
@@ -252,6 +253,7 @@ void LLPrefsAscentVan::cancel()
|
||||
gSavedSettings.setBOOL("OptionPlayTpSound", mPlayTPSound);
|
||||
gSavedSettings.setBOOL("AscentDisableLogoutScreens", !mShowLogScreens);
|
||||
gSavedSettings.setBOOL("SGDisableChatAnimation", mDisableChatAnimation);
|
||||
gSavedSettings.setBOOL("LiruAddNotReplace", mAddNotReplace);
|
||||
|
||||
//Tags\Colors ----------------------------------------------------------------------------
|
||||
gSavedSettings.setBOOL("AscentUseTag", mAscentUseTag);
|
||||
|
||||
Reference in New Issue
Block a user