summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-10 14:13:59 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-10 14:13:59 +0000
commit30f74e81dc9dc8660b8b5ceb41469373c5c92e64 (patch)
treec8c00a42d491523dae3c187884e5cb65e01f9a4f /indra/newview/pipeline.cpp
parentbc9122feb959f4a9e38681908a48b679260acb73 (diff)
parent22dccc74a8fbcf3231d932db39781727833b9259 (diff)
PE merge.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 4f4fc83819..bd22fc5f2e 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -1970,7 +1970,7 @@ void LLPipeline::markVisible(LLDrawable *drawablep, LLCamera& camera)
if (root && root->getParent() && root->getVObj() && root->getVObj()->isAttachment())
{
LLVOAvatar* av = root->getParent()->getVObj()->asAvatar();
- if (av->isImpostor())
+ if (av && av->isImpostor())
{
return;
}