Spot-fix the CAPS issue preventing UseHTTPInventory debug setting from working.
This commit is contained in:
@@ -247,6 +247,14 @@ public:
|
|||||||
LLSD::map_const_iterator iter;
|
LLSD::map_const_iterator iter;
|
||||||
for(iter = content.beginMap(); iter != content.endMap(); ++iter)
|
for(iter = content.beginMap(); iter != content.endMap(); ++iter)
|
||||||
{
|
{
|
||||||
|
if (!gSavedSettings.getBOOL("UseHTTPInventory"))
|
||||||
|
{
|
||||||
|
if (iter->first == "FetchLib2" ||
|
||||||
|
iter->first == "FetchLibDescendents2" ||
|
||||||
|
iter->first == "FetchInventory2" ||
|
||||||
|
iter->first == "FetchInventoryDescendents2")
|
||||||
|
continue;
|
||||||
|
}
|
||||||
regionp->setCapability(iter->first, iter->second);
|
regionp->setCapability(iter->first, iter->second);
|
||||||
LL_DEBUGS2("AppInit", "Capabilities") << "got capability for "
|
LL_DEBUGS2("AppInit", "Capabilities") << "got capability for "
|
||||||
<< iter->first << LL_ENDL;
|
<< iter->first << LL_ENDL;
|
||||||
|
|||||||
Reference in New Issue
Block a user