summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2010-02-09 12:53:05 -0800
committerXiaohong Bao <bao@lindenlab.com>2010-02-09 12:53:05 -0800
commit13e395aef2225601124d1df3ec4764859e8718f5 (patch)
treefd8df536e6b45e383a002d39d3d27857c75195d1 /indra/newview/pipeline.cpp
parent12358bd95f75ab4a6166604c067d5709639c0d3c (diff)
more fix for EXT-4352: texture problem in viewer 2.0. fixed texture priority problem.
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;
}