EXT-7910 allow GPU and feature table to load from a custom location
parent
005986d19c
commit
d0a8ae4557
|
|
@ -2840,6 +2840,17 @@
|
|||
<string>Boolean</string>
|
||||
<key>Value</key>
|
||||
<integer>0</integer>
|
||||
</map>
|
||||
<key>FeatureManagerHTTPTable</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>Base directory for HTTP feature/gpu table fetches</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
<string>String</string>
|
||||
<key>Value</key>
|
||||
<string>http://viewer-settings.secondlife.com</string>
|
||||
</map>
|
||||
<key>FPSLogFrequency</key>
|
||||
<map>
|
||||
|
|
|
|||
|
|
@ -496,11 +496,11 @@ private:
|
|||
|
||||
void fetch_table(std::string table)
|
||||
{
|
||||
const std::string base = "http://viewer-settings.s3.amazonaws.com/";
|
||||
const std::string base = gSavedSettings.getString("FeatureManagerHTTPTable");
|
||||
|
||||
const std::string filename = llformat(table.c_str(), LLVersionInfo::getVersion().c_str());
|
||||
|
||||
const std::string url = base + filename;
|
||||
const std::string url = base + "/" + filename;
|
||||
|
||||
const std::string path = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, filename);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue