summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-09-26 11:03:04 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-09-26 11:03:04 -0600
commit9053b9020a380f95f23051ca123127519db53e29 (patch)
treed29aa90454543b3d556d4eca0bb6e95fcbb55184 /indra/newview
parent4aa41f80bae421109900321af1d090ba5c8e6fdb (diff)
fix for SH-4521: Interesting viewer crash in Pipeline:RenderDrawPools
Diffstat (limited to 'indra/newview')
-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);
}