summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-04-22 14:52:02 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-04-22 14:52:02 +0100
commit04d2f64aa7eb679975fc672d932af1472b7feb8f (patch)
treec26a9871096aceaae10164c957449c1bc8d820e4 /indra/newview
parentd9b624e5c2bf43a6ce1635f4a2d1a6ba355d8040 (diff)
Stop asserting one of the markDirty paths which really happens in the wild.
(transplanted from fe2be2242fe59806989f9784a3797e2d5f69442f)
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/pipeline.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index af0aa41ca5..7a9a47feab 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -1970,8 +1970,7 @@ void LLPipeline::markVisible(LLDrawable *drawablep, LLCamera& camera)
root->getVObj()->isAttachment())
{
LLDrawable* rootparent = root->getParent();
- llassert(rootparent); // trying to catch a bad assumption
- if (rootparent) // this test may not be needed, see above
+ if (rootparent) // this IS sometimes NULL
{
LLViewerObject *vobj = rootparent->getVObj();
llassert(vobj); // trying to catch a bad assumption