diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-05-06 20:55:41 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-05-06 20:55:41 +0300 |
commit | ca24fc11eab5517a6f4a7359d330b7af9bc6d60d (patch) | |
tree | 0b103118ea13956bc5394b5958c4e097a2fd6b46 /indra | |
parent | 43517c5adc69ecb1d8a5e031a9e2840b005eecf9 (diff) |
SL-17375 Crash at LLViewerOctreeEntry::getSpatialExtents()
access violation, 'this' was null
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index d1e2b8b93d..d0c26bc43b 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -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(); |