diff options
author | William Todd Stinson <stinson@lindenlab.com> | 2012-11-13 17:03:11 -0800 |
---|---|---|
committer | William Todd Stinson <stinson@lindenlab.com> | 2012-11-13 17:03:11 -0800 |
commit | e173dea8a0b235a4664bfba213e96bed090069bf (patch) | |
tree | 46b476ee361463e2035d7be5ce5eeb0d2d039915 /indra/newview/llattachmentsmgr.cpp | |
parent | dd6b684c70e5b732bebae0303c9dcf383332d295 (diff) | |
parent | be210914f4e9081f021cc1ad3b671765aba79b61 (diff) |
Pull and merge from https://bitbucket.org/lindenlab/viewer-development.
Diffstat (limited to 'indra/newview/llattachmentsmgr.cpp')
-rw-r--r-- | indra/newview/llattachmentsmgr.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llattachmentsmgr.cpp b/indra/newview/llattachmentsmgr.cpp index c9543988a6..ea0b8f00a4 100644 --- a/indra/newview/llattachmentsmgr.cpp +++ b/indra/newview/llattachmentsmgr.cpp @@ -62,6 +62,12 @@ void LLAttachmentsMgr::onIdle(void *) void LLAttachmentsMgr::onIdle() { + // Make sure we got a region before trying anything else + if( !gAgent.getRegion() ) + { + return; + } + S32 obj_count = mPendingAttachments.size(); if (obj_count == 0) { |