From 787f91085d82dfba9ba0f210b89dbe0f4297b051 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Mon, 6 Feb 2012 19:38:17 -0500 Subject: [PATCH] Added Quiet Snapshots To Disk checkbox to Security tab of System Preferences, also corrected comments, since Privacy is called Security now. Users can find and change Quiet Snapshot setting easily in a logical place in their preferences. --- indra/newview/ascentprefssys.cpp | 6 ++++-- .../default/xui/en-us/panel_preferences_ascent_system.xml | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/indra/newview/ascentprefssys.cpp b/indra/newview/ascentprefssys.cpp index 66a8d7e72..88a3361fc 100644 --- a/indra/newview/ascentprefssys.cpp +++ b/indra/newview/ascentprefssys.cpp @@ -226,11 +226,12 @@ void LLPrefsAscentSys::refreshValues() mCmdMapToKeepPos = gSavedSettings.getBOOL("AscentMapToKeepPos"); mCmdLineTP2 = gSavedSettings.getString("AscentCmdLineTP2"); - //Privacy ----------------------------------------------------------------------------- + //Security ---------------------------------------------------------------------------- mBroadcastViewerEffects = gSavedSettings.getBOOL("BroadcastViewerEffects"); mDisablePointAtAndBeam = gSavedSettings.getBOOL("DisablePointAtAndBeam"); mPrivateLookAt = gSavedSettings.getBOOL("PrivateLookAt"); mShowLookAt = gSavedSettings.getBOOL("AscentShowLookAt"); + mQuietSnapshotsToDisk = gSavedSettings.getBOOL("QuietSnapshotsToDisk"); mRevokePermsOnStandUp = gSavedSettings.getBOOL("RevokePermsOnStandUp"); mDisableClickSit = gSavedSettings.getBOOL("DisableClickSit"); mDisplayScriptJumps = gSavedSettings.getBOOL("AscentDisplayTotalScriptJumps"); @@ -330,11 +331,12 @@ void LLPrefsAscentSys::cancel() gSavedSettings.setBOOL("AscentMapToKeepPos", mCmdMapToKeepPos); gSavedSettings.setString("AscentCmdLineTP2", mCmdLineTP2); - //Privacy ----------------------------------------------------------------------------- + //Security ---------------------------------------------------------------------------- gSavedSettings.setBOOL("BroadcastViewerEffects", mBroadcastViewerEffects); gSavedSettings.setBOOL("DisablePointAtAndBeam", mDisablePointAtAndBeam); gSavedSettings.setBOOL("PrivateLookAt", mPrivateLookAt); gSavedSettings.setBOOL("AscentShowLookAt", mShowLookAt); + gSavedSettings.setBOOL("QuietSnapshotsToDisk", mQuietSnapshotsToDisk); gSavedSettings.setBOOL("RevokePermsOnStandUp", mRevokePermsOnStandUp); gSavedSettings.setBOOL("DisableClickSit", mDisableClickSit); gSavedSettings.setBOOL("AscentDisplayTotalScriptJumps", mDisplayScriptJumps); diff --git a/indra/newview/skins/default/xui/en-us/panel_preferences_ascent_system.xml b/indra/newview/skins/default/xui/en-us/panel_preferences_ascent_system.xml index 387517415..117457d1e 100644 --- a/indra/newview/skins/default/xui/en-us/panel_preferences_ascent_system.xml +++ b/indra/newview/skins/default/xui/en-us/panel_preferences_ascent_system.xml @@ -81,6 +81,7 @@ +