diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-04-20 22:50:58 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-04-20 22:50:58 +0100 |
commit | 879fc70f35107d17ef0e3fa6f8df48527f644d4d (patch) | |
tree | 0b7fde82bcf5102ac61148ab7857a13e31f9ba27 /indra/newview | |
parent | fbc8ee0abe1448e52d8b0f8a06f4ddacbc05fbcd (diff) |
Another try at finding the new markVisible() crasher without de-optimizing it too badly. Sprinkle it with asserts for the sanity checks we've started to skip, see which one (ones?) fires.
(transplanted from 09164f83f03cfa62d0fd8296c810d3e3794cb365)
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/pipeline.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 620f34ae53..8295490677 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -1965,9 +1965,11 @@ void LLPipeline::markVisible(LLDrawable *drawablep, LLCamera& camera) if (drawablep->isSpatialBridge()) { LLDrawable* root = ((LLSpatialBridge*) drawablep)->mDrawable; - + llassert(root); if (root->getVObj()->isAttachment()) { + llassert(root->getParent()); + llassert(root->getParent()->getVObj()); LLVOAvatar* av = root->getParent()->getVObj()->asAvatar(); if (av && av->isImpostor()) { |