diff options
Diffstat (limited to 'indra/newview/llviewerattachmenu.cpp')
| -rw-r--r-- | indra/newview/llviewerattachmenu.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewerattachmenu.cpp b/indra/newview/llviewerattachmenu.cpp index f2557e299c..9828ab1fdf 100644 --- a/indra/newview/llviewerattachmenu.cpp +++ b/indra/newview/llviewerattachmenu.cpp @@ -116,12 +116,12 @@ void LLViewerAttachMenu::attachObjects(const uuid_vec_t& items, const std::strin          LLViewerInventoryItem* item = (LLViewerInventoryItem*)gInventory.getLinkedItem(id);          if(item && gInventory.isObjectDescendentOf(id, gInventory.getRootFolderID()))          { -            rez_attachment(item, attachmentp); // don't replace if called from an "Attach To..." menu +            rez_attachment(item, attachmentp, false); // don't replace if called from an "Attach To..." menu          }          else if(item && item->isFinished())          {              // must be in library. copy it to our inventory and put it on. -            LLPointer<LLInventoryCallback> cb = new LLBoostFuncInventoryCallback(boost::bind(rez_attachment_cb, _1, attachmentp)); +            LLPointer<LLInventoryCallback> cb = new LLBoostFuncInventoryCallback(boost::bind(rez_attachment_cb, _1, attachmentp, false));              copy_inventory_item(gAgent.getID(),                                  item->getPermissions().getOwner(),                                  item->getUUID(),  | 
