From a9ff3aa9fd223d9705737ffc15458474765fa8ec Mon Sep 17 00:00:00 2001 From: Ansariel Date: Fri, 10 Apr 2015 20:52:02 +0200 Subject: [PATCH] Force HTTP inventory enabled on Second Life --- indra/newview/llstartup.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index c1dfe08fef..428eb3caa8 100755 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -1682,6 +1682,17 @@ bool idle_startup() // We should have an agent id by this point. llassert(!(gAgentID == LLUUID::null)); + // Force HTTP inventory enabled on Second Life +#ifdef OPENSIM + if (LLGridManager::getInstance()->isInSecondLife()) + { +#endif + gSavedSettings.setBOOL("UseHTTPInventory", TRUE); +#ifdef OPENSIM + } +#endif + // + // Finish agent initialization. (Requires gSavedSettings, builds camera) gAgent.init(); display_startup();