summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorybridge.cpp
diff options
context:
space:
mode:
authorGilbert Gonzales <gilbert@lindenlab.com>2012-12-06 15:53:28 -0800
committerGilbert Gonzales <gilbert@lindenlab.com>2012-12-06 15:53:28 -0800
commit8dbb91728fba85f545dce39096399f505dabb960 (patch)
tree4cfffef8d22bd6f42417645476134cf023e4761c /indra/newview/llinventorybridge.cpp
parent218cbebbd8bdbfadc954731ee54f6472ed847139 (diff)
parent567df7bf275dfd33cf1b1fea945e3e544571b4aa (diff)
merging in latest changes
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rw-r--r--indra/newview/llinventorybridge.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index 73631f4ba8..cf8253ca4d 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -255,6 +255,11 @@ BOOL LLInvFVBridge::isLink() const
return mIsLink;
}
+BOOL LLInvFVBridge::isLibraryItem() const
+{
+ return gInventory.isObjectDescendentOf(getUUID(),gInventory.getLibraryRootFolderID());
+}
+
/*virtual*/
/**
* @brief Adds this item into clipboard storage