diff options
author | Scott Lawrence <oz@lindenlab.com> | 2015-09-23 12:52:33 -0400 |
---|---|---|
committer | Scott Lawrence <oz@lindenlab.com> | 2015-09-23 12:52:33 -0400 |
commit | a8f4baac40611607d03f83391b51b9bf93e6bab1 (patch) | |
tree | 929a7bb10ba0e7cf6d609eb58f3757513add503b /indra/newview/llattachmentsmgr.cpp | |
parent | 14408cc0dbe4eb079a9c19002f33c9ab6c5c5bba (diff) | |
parent | cfcc31c459b995caba88b99c48646e29f796a108 (diff) |
Merged in andreykproductengine/weight-notification (pull request #4)
MAINT-5570 [QuickGraphics] Visual complexity notifications are confusing.
Diffstat (limited to 'indra/newview/llattachmentsmgr.cpp')
-rwxr-xr-x | indra/newview/llattachmentsmgr.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llattachmentsmgr.cpp b/indra/newview/llattachmentsmgr.cpp index 2a137cc39b..d3e66289d1 100755 --- a/indra/newview/llattachmentsmgr.cpp +++ b/indra/newview/llattachmentsmgr.cpp @@ -421,6 +421,15 @@ void LLAttachmentsMgr::onDetachCompleted(const LLUUID& inv_item_id) mQuestionableCOFLinks.addTime(inv_item_id); } +bool LLAttachmentsMgr::isAttachmentStateComplete() const +{ + return mPendingAttachments.empty() + && mAttachmentRequests.empty() + && mDetachRequests.empty() + && mRecentlyArrivedAttachments.empty() + && mQuestionableCOFLinks.empty(); +} + // Check for attachments that are (a) linked in COF and (b) not // attached to the avatar. This is a rotten function to have to // include, because it runs the risk of either repeatedly spamming out |