SL-17375 Crash at LLViewerOctreeEntry::getSpatialExtents()

access violation, 'this' was null
master
Andrey Kleshchev 2022-05-06 20:55:41 +03:00
parent 43517c5adc
commit ca24fc11ea
1 changed files with 1 additions and 1 deletions

View File

@ -2377,7 +2377,7 @@ BOOL LLFace::calcPixelArea(F32& cos_angle_to_view_dir, F32& radius)
{
//override with avatar bounding box
LLVOAvatar* avatar = mVObjp->getAvatar();
if (avatar)
if (avatar && avatar->mDrawable)
{
center.load3(avatar->getPositionAgent().mV);
const LLVector4a* exts = avatar->mDrawable->getSpatialExtents();