aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview')
-rw-r--r--linden/indra/newview/llappviewer.cpp5
-rw-r--r--linden/indra/newview/llfeaturemanager.cpp11
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/notifications.xml1
3 files changed, 5 insertions, 12 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index 536092c..5b34e82 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -442,8 +442,6 @@ static void settings_to_globals()
442 gMapScale = gSavedSettings.getF32("MapScale"); 442 gMapScale = gSavedSettings.getF32("MapScale");
443 LLHoverView::sShowHoverTips = gSavedSettings.getBOOL("ShowHoverTips"); 443 LLHoverView::sShowHoverTips = gSavedSettings.getBOOL("ShowHoverTips");
444 444
445 LLCubeMap::sUseCubeMaps = LLFeatureManager::getInstance()->isFeatureAvailable("RenderCubeMap");
446
447 LLSlider::setScrollWheelMultiplier( gSavedSettings.getS32("SliderScrollWheelMultiplier") ); 445 LLSlider::setScrollWheelMultiplier( gSavedSettings.getS32("SliderScrollWheelMultiplier") );
448 446
449 LLHUDEffectLookAt::sDebugLookAt = gSavedSettings.getBOOL("PersistShowLookAt"); 447 LLHUDEffectLookAt::sDebugLookAt = gSavedSettings.getBOOL("PersistShowLookAt");
@@ -788,6 +786,9 @@ bool LLAppViewer::init()
788 // 786 //
789 initWindow(); 787 initWindow();
790 788
789 // initWindow also initializes the Feature List, so now we can initialize this global.
790 LLCubeMap::sUseCubeMaps = LLFeatureManager::getInstance()->isFeatureAvailable("RenderCubeMap");
791
791 { 792 {
792 BOOL download = gSavedSettings.getBOOL("DownloadClientTags"); 793 BOOL download = gSavedSettings.getBOOL("DownloadClientTags");
793 794
diff --git a/linden/indra/newview/llfeaturemanager.cpp b/linden/indra/newview/llfeaturemanager.cpp
index 35613b7..54da31b 100644
--- a/linden/indra/newview/llfeaturemanager.cpp
+++ b/linden/indra/newview/llfeaturemanager.cpp
@@ -250,11 +250,9 @@ BOOL LLFeatureManager::loadFeatureTables()
250 mTableVersion = version; 250 mTableVersion = version;
251 251
252 LLFeatureList *flp = NULL; 252 LLFeatureList *flp = NULL;
253 while (!file.eof() && file.good()) 253 while (file >> name)
254 { 254 {
255 char buffer[MAX_STRING]; /*Flawfinder: ignore*/ 255 char buffer[MAX_STRING]; /*Flawfinder: ignore*/
256
257 file >> name;
258 256
259 if (name.substr(0,2) == "//") 257 if (name.substr(0,2) == "//")
260 { 258 {
@@ -263,13 +261,6 @@ BOOL LLFeatureManager::loadFeatureTables()
263 continue; 261 continue;
264 } 262 }
265 263
266 if (name.empty())
267 {
268 // This is a blank line
269 file.getline(buffer, MAX_STRING);
270 continue;
271 }
272
273 if (name == "list") 264 if (name == "list")
274 { 265 {
275 if (flp) 266 if (flp)
diff --git a/linden/indra/newview/skins/default/xui/en-us/notifications.xml b/linden/indra/newview/skins/default/xui/en-us/notifications.xml
index 78295d4..47eea07 100644
--- a/linden/indra/newview/skins/default/xui/en-us/notifications.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/notifications.xml
@@ -7026,6 +7026,7 @@ IM history could not be found for [NAME].
7026 type="alert"> 7026 type="alert">
7027Show Look At is a debug setting that displays where an avatar's head is looking. Be aware: this will *NOT* show where an avatar's camera is actually pointed. This setting should not be relied on for any form of privacy! 7027Show Look At is a debug setting that displays where an avatar's head is looking. Be aware: this will *NOT* show where an avatar's camera is actually pointed. This setting should not be relied on for any form of privacy!
7028 <usetemplate 7028 <usetemplate
7029 ignoretext="When setting Show Look At"
7029 name="okignore" 7030 name="okignore"
7030 yestext="OK"/> 7031 yestext="OK"/>
7031</notification> 7032</notification>