diff options
author | Alexander Gavriliuk <alexandrgproductengine@lindenlab.com> | 2024-08-12 15:20:46 +0200 |
---|---|---|
committer | Guru <alexandrgproductengine@lindenlab.com> | 2024-08-12 17:37:05 +0200 |
commit | 3f9a38bb4bf7514e575315c3c304e04e9b828c8b (patch) | |
tree | 9ba77b26e10002cc86f935e79bcb0648cd2dc624 | |
parent | f982463488a35b58b86d5d76309055416eb9eaec (diff) |
#2255 BugSplat Crash #1503774: SecondLifeViewer!LLViewerOctreeGroup::hasState(227)
-rw-r--r-- | indra/newview/llspatialpartition.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index ffe5fa394f..b1f80e48af 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -1051,7 +1051,8 @@ public: LLSpatialGroup* group = (LLSpatialGroup*)base_group; group->checkOcclusion(); - if (group->getOctreeNode()->getParent() && //never occlusion cull the root node + if (group->getOctreeNode() && + group->getOctreeNode()->getParent() && //never occlusion cull the root node LLPipeline::sUseOcclusion && //ignore occlusion if disabled group->isOcclusionState(LLSpatialGroup::OCCLUDED)) { |