Skip to content

Commit 1a1b03e

Browse files
committed
Attaching a rezzed object incorrectly delays attachment link creation by 5 seconds
1 parent 506d1dc commit 1a1b03e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

indra/newview/llattachmentsmgr.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ void LLAttachmentsMgr::addAttachmentRequest(const LLUUID& item_id,
8989

9090
void LLAttachmentsMgr::onAttachmentRequested(const LLUUID& item_id)
9191
{
92+
if (item_id.isNull())
93+
return;
94+
9295
LLViewerInventoryItem *item = gInventory.getItem(item_id);
9396
LL_DEBUGS("Avatar") << "ATT attachment was requested "
9497
<< (item ? item->getName() : "UNKNOWN") << " id " << item_id << LL_ENDL;

indra/newview/llselectmgr.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2971,7 +2971,6 @@ void LLSelectMgr::logNoOp(LLSelectNode* node, void *)
29712971
// static
29722972
void LLSelectMgr::logAttachmentRequest(LLSelectNode* node, void *)
29732973
{
2974-
LLAttachmentsMgr::instance().onAttachmentRequested(node->mItemID);
29752974
}
29762975

29772976
// static

0 commit comments

Comments
 (0)