summaryrefslogtreecommitdiff
path: root/indra/newview/llvieweroctree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llvieweroctree.cpp')
-rw-r--r--indra/newview/llvieweroctree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvieweroctree.cpp b/indra/newview/llvieweroctree.cpp
index 47033afea3..e1684c19df 100644
--- a/indra/newview/llvieweroctree.cpp
+++ b/indra/newview/llvieweroctree.cpp
@@ -957,7 +957,7 @@ public:
{
LLOcclusionCullingGroup* group = (LLOcclusionCullingGroup*) n->getListener(0);
- if (group->isOcclusionState(mState))
+ if (group && group->isOcclusionState(mState))
{
OctreeTraveler::traverse(n);
}