summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorybridge.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-12-03 16:35:07 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-12-03 16:35:07 -0500
commit1320e5ddcd9fc3be526dcacbf4710f8bcf878665 (patch)
treee79afb0df339bce9a0898b4f6069a86aa6cfac49 /indra/newview/llinventorybridge.cpp
parent940cde3938217daf348bd62f719cae262bad86b0 (diff)
SH-4640 WIP - use backlinks in inventory
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rwxr-xr-xindra/newview/llinventorybridge.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index 4bce25c8b5..fbb276efd6 100755
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -1730,8 +1730,7 @@ BOOL LLItemBridge::removeItem()
{
if (!item->getIsLinkType())
{
- LLInventoryModel::item_array_t item_array =
- gInventory.collectLinksTo(mUUID, gInventory.getRootFolderID());
+ LLInventoryModel::item_array_t item_array = gInventory.collectLinksTo(mUUID);
const U32 num_links = item_array.size();
if (num_links > 0)
{