Commits

Nicky  committed 8a65fed

Crashfix: In LLAttachmentsMgr::onIdle make sure we've a valid region before dereferencing it.

  • Participants
  • Parent commits 54e9b43

Comments (0)

Files changed (1)

File indra/newview/llattachmentsmgr.cpp

 
 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)
 	{