Skip to content

Commit 3fab130

Browse files
committed
Attaching a rezzed object incorrectly delays attachment link creation by 5 seconds
1 parent 82a93ee commit 3fab130

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
@@ -2969,7 +2969,6 @@ void LLSelectMgr::logNoOp(LLSelectNode* node, void *)
29692969
// static
29702970
void LLSelectMgr::logAttachmentRequest(LLSelectNode* node, void *)
29712971
{
2972-
LLAttachmentsMgr::instance().onAttachmentRequested(node->mItemID);
29732972
}
29742973

29752974
// static

0 commit comments

Comments
 (0)