diff options
author | Aleric Inglewood | 2010-10-24 00:16:45 +0200 |
---|---|---|
committer | Aleric Inglewood | 2010-10-24 00:16:45 +0200 |
commit | df41e471c1e7eca1dd50ad7e752f41c391c518c2 (patch) | |
tree | 945b797af6fa9e96a914f315b09c97ce49caadec /linden/indra | |
parent | Merge branch 'weekly' into webkit_plugins (diff) | |
parent | IMP-664: WARNING: addFeature: LLFeatureList::Attempting to add preexisting fe... (diff) | |
download | meta-impy-df41e471c1e7eca1dd50ad7e752f41c391c518c2.zip meta-impy-df41e471c1e7eca1dd50ad7e752f41c391c518c2.tar.gz meta-impy-df41e471c1e7eca1dd50ad7e752f41c391c518c2.tar.bz2 meta-impy-df41e471c1e7eca1dd50ad7e752f41c391c518c2.tar.xz |
Merge branch 'weekly' into webkit_plugins
Conflicts:
linden/doc/contributions.txt
Renamed RED --> IMP. Merged entries from both.
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/llnotifications.cpp | 4 | ||||
-rw-r--r-- | linden/indra/llvfs/llvfs.cpp | 5 | ||||
-rw-r--r-- | linden/indra/newview/llappviewer.cpp | 5 | ||||
-rw-r--r-- | linden/indra/newview/llfeaturemanager.cpp | 11 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/notifications.xml | 1 |
5 files changed, 10 insertions, 16 deletions
diff --git a/linden/indra/llui/llnotifications.cpp b/linden/indra/llui/llnotifications.cpp index 2459110..4d3ff46 100644 --- a/linden/indra/llui/llnotifications.cpp +++ b/linden/indra/llui/llnotifications.cpp | |||
@@ -1190,13 +1190,13 @@ void replaceSubstitutionStrings(LLXMLNodePtr node, StringMap& replacements) | |||
1190 | if (found != replacements.end()) | 1190 | if (found != replacements.end()) |
1191 | { | 1191 | { |
1192 | replacement = found->second; | 1192 | replacement = found->second; |
1193 | //llwarns << "replaceSubstituionStrings: value: " << value << " repl: " << replacement << llendl; | 1193 | //llinfos << "replaceSubstitutionStrings: value: \"" << value << "\" repl: \"" << replacement << "\"." << llendl; |
1194 | 1194 | ||
1195 | it->second->setValue(replacement); | 1195 | it->second->setValue(replacement); |
1196 | } | 1196 | } |
1197 | else | 1197 | else |
1198 | { | 1198 | { |
1199 | llwarns << "replaceSubstituionStrings FAILURE: value: " << value << " repl: " << replacement << llendl; | 1199 | llwarns << "replaceSubstitutionStrings FAILURE: could not find replacement \"" << value << "\"." << llendl; |
1200 | } | 1200 | } |
1201 | } | 1201 | } |
1202 | } | 1202 | } |
diff --git a/linden/indra/llvfs/llvfs.cpp b/linden/indra/llvfs/llvfs.cpp index 7df2a81..9bf5b59 100644 --- a/linden/indra/llvfs/llvfs.cpp +++ b/linden/indra/llvfs/llvfs.cpp | |||
@@ -583,8 +583,9 @@ LLVFS::LLVFS(const std::string& index_filename, const std::string& data_filename | |||
583 | } | 583 | } |
584 | } | 584 | } |
585 | 585 | ||
586 | LL_WARNS("VFS") << "Using index file " << mIndexFilename << LL_ENDL; | 586 | // Success! |
587 | LL_WARNS("VFS") << "Using data file " << mDataFilename << LL_ENDL; | 587 | LL_INFOS("VFS") << "Using index file " << mIndexFilename << LL_ENDL; |
588 | LL_INFOS("VFS") << "Using data file " << mDataFilename << LL_ENDL; | ||
588 | 589 | ||
589 | mValid = VFSVALID_OK; | 590 | mValid = VFSVALID_OK; |
590 | } | 591 | } |
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"> |
7027 | Show 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! | 7027 | Show 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> |