From c59ecd1db5830fbf60a6e8de6e05e4e1c82db505 Mon Sep 17 00:00:00 2001
From: Armin Weatherwax
Date: Fri, 30 Jul 2010 14:40:36 +0200
Subject: add checkboxes for MUpose and auto-close OOC to prefs advanced

---
 linden/indra/newview/llprefsadvanced.cpp | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'linden/indra/newview/llprefsadvanced.cpp')

diff --git a/linden/indra/newview/llprefsadvanced.cpp b/linden/indra/newview/llprefsadvanced.cpp
index 34c8eb2..60c936a 100644
--- a/linden/indra/newview/llprefsadvanced.cpp
+++ b/linden/indra/newview/llprefsadvanced.cpp
@@ -67,6 +67,9 @@ BOOL LLPrefsAdvanced::postBuild()
 	childSetValue("appearance_anim_check", gSavedSettings.getBOOL("AppearanceAnimate"));
 	childSetValue("legacy_pie_menu_checkbox", gSavedSettings.getBOOL("LegacyPieEnabled"));
 	childSetValue("language_is_public", gSavedSettings.getBOOL("LanguageIsPublic"));
+	childSetValue("allow_mupose", gSavedSettings.getBOOL("AllowMUpose"));
+	childSetValue("auto_close_ooc", gSavedSettings.getBOOL("AutoCloseOOC"));
+
 	childSetValue("lightshare_combo",
 	              LLSD((S32)gSavedSettings.getU32("LightShareAllowed")));
 
@@ -90,6 +93,8 @@ void LLPrefsAdvanced::apply()
 	gSavedSettings.setU32("SpeedRezInterval", childGetValue("speed_rez_interval_spinner").asReal());
 	gSavedSettings.setBOOL("AppearanceAnimate", childGetValue("appearance_anim_check"));
 	gSavedSettings.setBOOL("LanguageIsPublic", childGetValue("language_is_public"));
+	gSavedSettings.setBOOL("AllowMUpose", childGetValue("allow_mupose"));
+	gSavedSettings.setBOOL("AutoCloseOOC", childGetValue("auto_close_ooc"));
 	gSavedSettings.setU32("LightShareAllowed",
 	                      (U32)childGetValue("lightshare_combo").asInteger());
 
-- 
cgit v1.1