diff options
author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2016-05-19 23:02:37 +0300 |
---|---|---|
committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2016-05-19 23:02:37 +0300 |
commit | b25a22a2c113a1e95f2cd5d45bb5b80a756c4a80 (patch) | |
tree | 968ce9657026035901b3604b012f7dff96a2d122 /indra/newview/llattachmentsmgr.cpp | |
parent | 8243301b3ff6c90db6d1fb53baf5050666d75d9a (diff) | |
parent | c2ef3b4c7186dbbd95b16520f281b7d58364fb52 (diff) |
Merged in lindenlab/viewer-release
Diffstat (limited to 'indra/newview/llattachmentsmgr.cpp')
-rw-r--r--[-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..100644 --- 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 |