aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--linden/indra/newview/app_settings/settings.xml14
-rw-r--r--linden/indra/newview/llagent.cpp4
2 files changed, 18 insertions, 0 deletions
diff --git a/linden/indra/newview/app_settings/settings.xml b/linden/indra/newview/app_settings/settings.xml
index 3cb13bb..305454e 100644
--- a/linden/indra/newview/app_settings/settings.xml
+++ b/linden/indra/newview/app_settings/settings.xml
@@ -1,6 +1,20 @@
1<?xml version="1.0" ?> 1<?xml version="1.0" ?>
2<llsd> 2<llsd>
3<map> 3<map>
4
5 <!-- Show statistics in mouselook -->
6
7 <key>ShowStatusBarInMouselook</key>
8 <map>
9 <key>Comment</key>
10 <string>Makes it so that the statistics bar stays visable when entering mouselook if it was open already.</string>
11 <key>Persist</key>
12 <integer>1</integer>
13 <key>Type</key>
14 <string>Boolean</string>
15 <key>Value</key>
16 <integer>0</integer>
17 </map>
4 18
5 <!-- Begin: AO--> 19 <!-- Begin: AO-->
6 20
diff --git a/linden/indra/newview/llagent.cpp b/linden/indra/newview/llagent.cpp
index 18475c6..e0fde62 100644
--- a/linden/indra/newview/llagent.cpp
+++ b/linden/indra/newview/llagent.cpp
@@ -2875,6 +2875,10 @@ static const LLFloaterView::skip_list_t& get_skip_list()
2875{ 2875{
2876 static LLFloaterView::skip_list_t skip_list; 2876 static LLFloaterView::skip_list_t skip_list;
2877 skip_list.insert(LLFloaterMap::getInstance()); 2877 skip_list.insert(LLFloaterMap::getInstance());
2878 if(gSavedSettings.getBOOL("ShowStatusBarInMouselook"))
2879 {
2880 skip_list.insert(LLFloaterStats::getInstance());
2881 }
2878 return skip_list; 2882 return skip_list;
2879} 2883}
2880 2884