aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-09-10 21:12:20 -0700
committerMcCabe Maxsted2010-09-10 21:12:20 -0700
commit5b584eafadb0898ba23bf17ccb30e6d2d557c74a (patch)
treeb7e90189208a982aa1f38ef00967da57e3aa9d43 /linden/indra/newview/llvoavatar.cpp
parentAdded libhunspell-1.2.dylib to Mac manifest. (diff)
downloadmeta-impy-5b584eafadb0898ba23bf17ccb30e6d2d557c74a.zip
meta-impy-5b584eafadb0898ba23bf17ccb30e6d2d557c74a.tar.gz
meta-impy-5b584eafadb0898ba23bf17ccb30e6d2d557c74a.tar.bz2
meta-impy-5b584eafadb0898ba23bf17ccb30e6d2d557c74a.tar.xz
Fix for crash on bad teleports
Diffstat (limited to 'linden/indra/newview/llvoavatar.cpp')
-rw-r--r--linden/indra/newview/llvoavatar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llvoavatar.cpp b/linden/indra/newview/llvoavatar.cpp
index 513d43c..c8b26be 100644
--- a/linden/indra/newview/llvoavatar.cpp
+++ b/linden/indra/newview/llvoavatar.cpp
@@ -8401,7 +8401,7 @@ LLBBox LLVOAvatar::getHUDBBox() const
8401 { 8401 {
8402 attachment_map_t::const_iterator curiter = iter++; 8402 attachment_map_t::const_iterator curiter = iter++;
8403 LLViewerJointAttachment* attachment = curiter->second; 8403 LLViewerJointAttachment* attachment = curiter->second;
8404 if (attachment->getIsHUDAttachment() && attachment->getObject()) 8404 if (attachment && attachment->getIsHUDAttachment() && attachment->getObject())
8405 { 8405 {
8406 LLViewerObject* hud_object = attachment->getObject(); 8406 LLViewerObject* hud_object = attachment->getObject();
8407 8407