STORM-397 FIXED Disabled dropping wearables from a notecard to COF and any outfit folder.

Those folders should contain only links to wearable items.
meow-7.2.2
Seth ProductEngine 2011-01-25 21:10:00 +02:00
parent eec332cfbe
commit bcb95ed707
1 changed files with 4 additions and 1 deletions

View File

@ -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(),