diff options
author | Don Kjer <don@lindenlab.com> | 2011-03-01 02:13:55 +0000 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2011-03-01 02:13:55 +0000 |
commit | 627c28da811f00ddd02a5c2af0762f427ac02a1b (patch) | |
tree | 13e1deab87b9a3c56595b796bd17347e47a93658 /indra/newview/llinventorybridge.cpp | |
parent | f2764d24a3b3563d66a683c84af22b61648755cb (diff) | |
parent | 0929315ab103433275a71f26a4900ee0615932e9 (diff) |
Merge with viewer-headless
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rw-r--r-- | indra/newview/llinventorybridge.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 5108f68592..4c2e0fa709 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -3230,7 +3230,10 @@ BOOL LLFolderBridge::dragItemIntoFolder(LLInventoryItem* inv_item, } else if(LLToolDragAndDrop::SOURCE_NOTECARD == source) { - accept = TRUE; + // Don't allow placing an original item from a notecard to Current Outfit or an outfit folder + // because they must contain only links to wearable items. + accept = !(move_is_into_current_outfit || move_is_into_outfit); + if(drop) { copy_inventory_from_notecard(LLToolDragAndDrop::getInstance()->getObjectID(), |