diff options
author | Oz Linden <oz@lindenlab.com> | 2012-11-13 11:57:14 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-11-13 11:57:14 -0500 |
commit | be210914f4e9081f021cc1ad3b671765aba79b61 (patch) | |
tree | 006e4ec827b8c1b3cf6042c08e12aadf48f43943 /indra/newview/llattachmentsmgr.cpp | |
parent | 7e779a29c142feaa34a30dff39b72d0ae7c0fdc3 (diff) | |
parent | d8f081cf1b18ddb5f0412b21f4d36bfce6abae19 (diff) |
merge changes for DRTVWR-238
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) { |