Skip to content

Commit

Permalink
viewer#1143 Crash at LLReflectionMap::autoAdjustOrigin #2
Browse files Browse the repository at this point in the history
  • Loading branch information
akleshchev committed Apr 17, 2024
1 parent 5af5329 commit 4379cc6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion indra/newview/llreflectionmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4379cc6

Please sign in to comment.