diff options
author | Don Kjer <don@lindenlab.com> | 2013-03-05 11:28:06 -0800 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2013-03-05 11:28:06 -0800 |
commit | 9a0c52a247ecbd79f5f872ceb97a6be3e0499bea (patch) | |
tree | bcb0e2e3752e6a823523dbe0c21cf5bc8619d879 /indra/newview/llappearancemgr.cpp | |
parent | b5d7800347151c4225d515b92d627846a9fda306 (diff) |
Adding debug setting to allow overriding appearance service url
Diffstat (limited to 'indra/newview/llappearancemgr.cpp')
-rwxr-xr-x | indra/newview/llappearancemgr.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index fa239e2c8a..1561f8d74c 100755 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -3359,6 +3359,15 @@ void LLAppearanceMgr::incrementCofVersion(LLHTTPClient::ResponderPtr responder_p LLHTTPClient::get(url, body, responder_ptr, headers, 30.0f); } +std::string LLAppearanceMgr::getAppearanceServiceURL() const +{ + if (gSavedSettings.getString("DebugAvatarAppearanceServiceURLOverride").empty()) + { + return mAppearanceServiceURL; + } + return gSavedSettings.getString("DebugAvatarAppearanceServiceURLOverride"); +} + void show_created_outfit(LLUUID& folder_id, bool show_panel = true) { if (!LLApp::isRunning()) |