summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerinventory.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-05-15 09:45:10 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-05-15 09:45:10 -0400
commit931410211e1d644028f5b09cbf77b179e0e75aab (patch)
treec5e4df698f6f8b7bdeaf3fb9ae4be293390c099f /indra/newview/llviewerinventory.cpp
parent749b5ba3bd7e38a23f373d15b8a74df7dede6a93 (diff)
SH-4144 FIX - removed UseAISv3Inventory debug settings - cap is now managed sim-side
Diffstat (limited to 'indra/newview/llviewerinventory.cpp')
-rwxr-xr-xindra/newview/llviewerinventory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llviewerinventory.cpp b/indra/newview/llviewerinventory.cpp
index 5ffd560942..e819479923 100755
--- a/indra/newview/llviewerinventory.cpp
+++ b/indra/newview/llviewerinventory.cpp
@@ -1189,7 +1189,7 @@ void remove_inventory_item(
if(obj)
{
std::string cap;
- if (gAgent.getRegion() && gSavedSettings.getBOOL("UseAISv3Inventory"))
+ if (gAgent.getRegion())
{
cap = gAgent.getRegion()->getCapability("InventoryAPIv3");
}
@@ -1267,7 +1267,7 @@ void remove_inventory_category(
}
std::string cap;
- if (gAgent.getRegion() && gSavedSettings.getBOOL("UseAISv3Inventory"))
+ if (gAgent.getRegion())
{
cap = gAgent.getRegion()->getCapability("InventoryAPIv3");
}
@@ -1407,7 +1407,7 @@ void purge_descendents_of(const LLUUID& id, LLPointer<LLInventoryCallback> cb)
else
{
std::string cap;
- if (gAgent.getRegion() && gSavedSettings.getBOOL("UseAISv3Inventory"))
+ if (gAgent.getRegion())
{
cap = gAgent.getRegion()->getCapability("InventoryAPIv3");
}