summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2009-10-28 17:12:47 -0700
committerLeyla Farazha <leyla@lindenlab.com>2009-10-28 17:12:47 -0700
commit437449044583d50c8cad694e65e5a4a23a55d768 (patch)
treec7637a8dbc31d933ca05e999eea7f9fd34daa305 /indra/newview/llvoavatar.cpp
parent9426de7e10fa7cfe84048ae7dd58a793e981ee33 (diff)
parentd993ce14d83530544c0e0f05af10d235999d9a5f (diff)
tab container fixes..
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r--indra/newview/llvoavatar.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index a402aff8ab..f9c95afc31 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -6400,6 +6400,11 @@ LLBBox LLVOAvatar::getHUDBBox() const
++attachment_iter)
{
const LLViewerObject* attached_object = (*attachment_iter);
+ if (attached_object == NULL)
+ {
+ llwarns << "HUD attached object is NULL!" << llendl;
+ continue;
+ }
// initialize bounding box to contain identity orientation and center point for attached object
bbox.addPointLocal(attached_object->getPosition());
// add rotated bounding box for attached object