summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorybridge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rw-r--r--indra/newview/llinventorybridge.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index 57e5030602..114fdf1d9f 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -691,7 +691,9 @@ bool LLInvFVBridge::isClipboardPasteableAsLink() const
{
return false;
}
- if (item->getAssetUUID().isNull())
+ if (item->getAssetUUID().isNull()
+ && (item->getActualType() == LLAssetType::AT_NOTECARD
+ || item->getActualType() == LLAssetType::AT_MATERIAL))
{
// otehrwise AIS will return 'Cannot link to items with a NULL asset_id.'
return false;