diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-04-17 02:49:59 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-04-17 18:39:51 +0300 |
commit | 4379cc64dbdbd488a8ddcc4d21712f9da4cee154 (patch) | |
tree | 2dd92851a0f2d53226cdc7aa99471e45374ec216 /indra/newview/llreflectionmap.cpp | |
parent | 5af5329cf97dde8dfcb230f6b946162d8b4a3860 (diff) |
viewer#1143 Crash at LLReflectionMap::autoAdjustOrigin #2
Diffstat (limited to 'indra/newview/llreflectionmap.cpp')
-rw-r--r-- | indra/newview/llreflectionmap.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llreflectionmap.cpp b/indra/newview/llreflectionmap.cpp index 2e5aaa997d..90a2f30c92 100644 --- a/indra/newview/llreflectionmap.cpp +++ b/indra/newview/llreflectionmap.cpp @@ -70,7 +70,8 @@ void LLReflectionMap::autoAdjustOrigin() { LL_PROFILE_ZONE_SCOPED_CATEGORY_DISPLAY; - if (mGroup && !mComplete) + + if (mGroup && !mComplete && !mGroup->hasState(LLViewerOctreeGroup::DEAD)) { const LLVector4a* bounds = mGroup->getBounds(); auto* node = mGroup->getOctreeNode(); |