From e057fc133542d76d2ef2570498777b35b8b0b6f3 Mon Sep 17 00:00:00 2001 From: phr0z3nt04st Date: Tue, 18 May 2010 19:37:50 -0500 Subject: [PATCH] Prefs updated. --- indra/newview/hbprefsinert.cpp | 3 +++ .../default/xui/en-us/panel_preferences_inert.xml | 11 ++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/indra/newview/hbprefsinert.cpp b/indra/newview/hbprefsinert.cpp index cda9a5031..dad35a489 100644 --- a/indra/newview/hbprefsinert.cpp +++ b/indra/newview/hbprefsinert.cpp @@ -59,6 +59,7 @@ private: BOOL mDoubleClickTeleport; BOOL mHideNotificationsInChat; BOOL mPlayTypingSound; + BOOL mDisablePointAtAndBeam; BOOL mPrivateLookAt; BOOL mFetchInventoryOnLogin; BOOL mSecondsInChatAndIMs; @@ -111,6 +112,7 @@ void LLPrefsInertImpl::refreshValues() mDoubleClickTeleport = gSavedSettings.getBOOL("DoubleClickTeleport"); mHideNotificationsInChat = gSavedSettings.getBOOL("HideNotificationsInChat"); mPlayTypingSound = gSavedSettings.getBOOL("PlayTypingSound"); + mDisablePointAtAndBeam = gSavedSettings.getBOOL("DisablePointAtAndBeam"); mPrivateLookAt = gSavedSettings.getBOOL("PrivateLookAt"); mSecondsInChatAndIMs = gSavedSettings.getBOOL("SecondsInChatAndIMs"); mFetchInventoryOnLogin = gSavedSettings.getBOOL("FetchInventoryOnLogin"); @@ -186,6 +188,7 @@ void LLPrefsInertImpl::cancel() gSavedSettings.setBOOL("DoubleClickTeleport", mDoubleClickTeleport); gSavedSettings.setBOOL("HideNotificationsInChat", mHideNotificationsInChat); gSavedSettings.setBOOL("PlayTypingSound", mPlayTypingSound); + gSavedSettings.setBOOL("DisablePointAtAndBeam", mDisablePointAtAndBeam); gSavedSettings.setBOOL("PrivateLookAt", mPrivateLookAt); gSavedSettings.setBOOL("FetchInventoryOnLogin", mFetchInventoryOnLogin); gSavedSettings.setBOOL("SecondsInChatAndIMs", mSecondsInChatAndIMs); diff --git a/indra/newview/skins/default/xui/en-us/panel_preferences_inert.xml b/indra/newview/skins/default/xui/en-us/panel_preferences_inert.xml index 0443b07db..f329072e2 100644 --- a/indra/newview/skins/default/xui/en-us/panel_preferences_inert.xml +++ b/indra/newview/skins/default/xui/en-us/panel_preferences_inert.xml @@ -1,7 +1,7 @@ - @@ -127,12 +127,17 @@ width="400" /> +