diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-11-22 00:37:43 +0200 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-11-22 00:38:02 +0200 |
commit | 1fae237c158a8f501ae80d030b1a8cfdd8d2d8a2 (patch) | |
tree | d442d840034bab54e055d9c244d83b2db9d4a0b1 | |
parent | 649bfb52479bf0e72985cdb8752ed93fa5bb0b1e (diff) |
SL-20610 Crash when unticking animesh on an attachment
-rwxr-xr-x | doc/contributions.txt | 1 | ||||
-rw-r--r-- | indra/newview/llspatialpartition.cpp | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/contributions.txt b/doc/contributions.txt index 3de668c1f0..581dab379d 100755 --- a/doc/contributions.txt +++ b/doc/contributions.txt @@ -290,6 +290,7 @@ Beq Janus SL-18637 SL-19317 SL-19660 + SL-20610 Beth Walcher Bezilon Kasei Biancaluce Robbiani diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index a3d8986c20..cafc82964c 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -868,10 +868,9 @@ void LLSpatialGroup::rebound() LLControlAvatar* controlAvatar = bridge->mDrawable->getVObj()->getControlAvatar(); if (controlAvatar && controlAvatar->mDrawable && - controlAvatar->mControlAVBridge) + controlAvatar->mControlAVBridge && + controlAvatar->mControlAVBridge->mOctree) { - llassert(controlAvatar->mControlAVBridge->mOctree); - LLSpatialGroup* root = (LLSpatialGroup*)controlAvatar->mControlAVBridge->mOctree->getListener(0); if (this == root) { |