Crash fix, cache sanity

This commit is contained in:
Siana Gearz
2011-10-04 06:02:19 +02:00
parent 9ac2c07f52
commit 2cba3c45bd
2 changed files with 2 additions and 2 deletions

View File

@@ -213,7 +213,7 @@ BOOL LLHUDIcon::lineSegmentIntersect(const LLVector3& start, const LLVector3& en
if (mHidden)
return FALSE;
if (mSourceObject.isNull() || mImagep.isNull())
if (mSourceObject.isNull() || mImagep.isNull() || mSourceObject->mDrawable.isNull())
{
markDead();
return FALSE;