viewer#1143 Crash at LLReflectionMap::autoAdjustOrigin #2

master
Andrey Kleshchev 2024-04-17 02:49:59 +03:00 committed by Andrey Kleshchev
parent 5af5329cf9
commit 4379cc64db
1 changed files with 2 additions and 1 deletions

View File

@ -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();