summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorybridge.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2012-12-05 20:26:26 -0800
committerMerov Linden <merov@lindenlab.com>2012-12-05 20:26:26 -0800
commit42a60e6ca5f4179738fa9a7376d1e842bc058ac4 (patch)
tree8e1f74ebf472a2ea9ae74f4ea65409c418555218 /indra/newview/llinventorybridge.cpp
parent3a49beed0e96a797a6d663bcae5e932437ca3661 (diff)
parent32d7131b1034d03fa9d3fdde8b86ee9880bb4f67 (diff)
Pull merge from dev repo
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 bad4e8c231..1e60b10a68 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