diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-03-24 23:50:34 +0200 | 
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-03-25 07:46:01 +0200 | 
| commit | e1d6b57733ceb050ab243886261f663948da7e13 (patch) | |
| tree | b681a3300854d72c8cf18282f646a916aba23a5d /indra | |
| parent | 5e5d466628f3576bb48b63f143502ea914f79bca (diff) | |
#3798 Crash at getAvatar()
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 811aacb2ed..373a556f86 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -2218,7 +2218,7 @@ bool LLFace::calcPixelArea(F32& cos_angle_to_view_dir, F32& radius)      {          LL_PROFILE_ZONE_NAMED_CATEGORY_FACE("calcPixelArea - rigged");          //override with joint volume face joint bounding boxes -        LLVOAvatar* avatar = mVObjp->getAvatar(); +        LLVOAvatar* avatar = mVObjp.notNull() ? mVObjp->getAvatar() : nullptr;          bool hasRiggedExtents = false;          if (avatar && avatar->mDrawable) | 
