summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorybridge.cpp
diff options
context:
space:
mode:
authorWilliam Todd Stinson <stinson@lindenlab.com>2012-12-06 17:48:30 -0800
committerWilliam Todd Stinson <stinson@lindenlab.com>2012-12-06 17:48:30 -0800
commit329001c7826b6070034bf87e36331a4e46eddd44 (patch)
tree2537e83dd6f4eb400ac797e6e1c900c3d4e53bb4 /indra/newview/llinventorybridge.cpp
parent54380ed6d7021b19281846b273fbe81a76c836d9 (diff)
parent567df7bf275dfd33cf1b1fea945e3e544571b4aa (diff)
Pull and merge from ssh://stinson@hg.lindenlab.com/richard/viewer-chui/.
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