From ca24fc11eab5517a6f4a7359d330b7af9bc6d60d Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Fri, 6 May 2022 20:55:41 +0300 Subject: SL-17375 Crash at LLViewerOctreeEntry::getSpatialExtents() access violation, 'this' was null --- indra/newview/llface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') 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(); -- cgit v1.2.3