diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-04-24 20:42:27 +0300 | 
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-04-24 22:12:31 +0300 | 
| commit | 89f817194305243cb28499c70819656b8172dfa8 (patch) | |
| tree | 0a88c2a911695e51010b1eb51b74852374db0aab | |
| parent | b1b0cdbcf0c7a579bcce73296d4225499b544617 (diff) | |
#3975 Crash at LLSpatialGroup::dirtyGeom
| -rw-r--r-- | indra/newview/llvovolume.cpp | 7 | 
1 files changed, 5 insertions, 2 deletions
| diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 4e8932f912..63ff6bc79d 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -860,8 +860,11 @@ void LLVOVolume::updateTextureVirtualSize(bool forced)                  // animated faces get moved to a smaller partition to reduce                  // side-effects of their updates (see shrinkWrap in                  // LLVOVolume::animateTextures). -                mDrawable->getSpatialGroup()->dirtyGeom(); -                gPipeline.markRebuild(mDrawable->getSpatialGroup()); +                if (mDrawable->getSpatialGroup()) +                { +                    mDrawable->getSpatialGroup()->dirtyGeom(); +                    gPipeline.markRebuild(mDrawable->getSpatialGroup()); +                }              }          } | 
