- fixed : don't start creating links to attachments until LLAppearanceMgr::setAttachmentInvLinkEnable has been called
--HG-- branch : Appearance-Miscmeow-7.2.2
parent
eed94f728f
commit
d933e6ea73
|
|
@ -147,6 +147,9 @@ public:
|
|||
// Attachment link management
|
||||
void unregisterAttachment(const LLUUID& item_id);
|
||||
void registerAttachment(const LLUUID& item_id);
|
||||
// [SL:KB] - Patch: Appearance-SyncAttach | Checked: 2015-06-24 (Catznip-3.7)
|
||||
bool getAttachmentInvLinkEnable() { return mAttachmentInvLinkEnabled; }
|
||||
// [/SL:KB]
|
||||
void setAttachmentInvLinkEnable(bool val);
|
||||
|
||||
// Add COF link to individual item.
|
||||
|
|
|
|||
|
|
@ -219,6 +219,13 @@ void LLAttachmentsMgr::requestAttachments(attachments_vec_t& attachment_requests
|
|||
|
||||
void LLAttachmentsMgr::linkRecentlyArrivedAttachments()
|
||||
{
|
||||
// [SL:KB] - Patch: Appearance-SyncAttach | Checked: 2015-06-24 (Catznip-3.7)
|
||||
if (!LLAppearanceMgr::instance().getAttachmentInvLinkEnable())
|
||||
{
|
||||
return;
|
||||
}
|
||||
// [/SL:KB]
|
||||
|
||||
if (mRecentlyArrivedAttachments.size())
|
||||
{
|
||||
// One or more attachments have arrived but have not yet been
|
||||
|
|
|
|||
Loading…
Reference in New Issue