diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2013-05-16 16:58:04 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2013-05-16 16:58:04 -0600 |
commit | 7006cbe3a24a88da4182f5930bb0fe712c43ce8c (patch) | |
tree | 4219eca4bfda08adfcbacdefcf4527eaf11f9c63 /indra/newview/llvieweroctree.cpp | |
parent | bbefabff3e2f3453ac682262defe0e7f9b94d5a8 (diff) |
fix for SH-4080: interesting: random crash on Mac
Diffstat (limited to 'indra/newview/llvieweroctree.cpp')
-rw-r--r-- | indra/newview/llvieweroctree.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/newview/llvieweroctree.cpp b/indra/newview/llvieweroctree.cpp index 0670b47f52..62108f0512 100644 --- a/indra/newview/llvieweroctree.cpp +++ b/indra/newview/llvieweroctree.cpp @@ -327,11 +327,7 @@ void LLViewerOctreeEntryData::setVisible() const LLviewerOctreeGroup::~LLviewerOctreeGroup() { - if(LLViewerRegion::sCurRegionp && isVisible()) - { - LLViewerRegion::sCurRegionp->clearVisibleGroup(this); - } - llassert(!LLViewerRegion::sCurRegionp || LLViewerRegion::sCurRegionp->hasVisibleGroup(this) == false); + //empty here } LLviewerOctreeGroup::LLviewerOctreeGroup(OctreeNode* node) : |