diff options
| author | Dave Parks <davep@lindenlab.com> | 2012-10-02 12:11:42 -0500 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2012-10-02 12:11:42 -0500 |
| commit | bc0abc773451d5a71f7f0b024e8d389327425446 (patch) | |
| tree | bb929b3879354503762b8d84b23210cb301e57ea /indra/newview/llspatialpartition.cpp | |
| parent | c69855f2333f9fb094e235b84d275d43fdeda3c3 (diff) | |
Fix up some assertions in lloctree.h
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
| -rw-r--r-- | indra/newview/llspatialpartition.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index 45ef8f1a6d..9a6cb78333 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -1841,13 +1841,13 @@ BOOL LLSpatialPartition::remove(LLDrawable *drawablep, LLSpatialGroup *curp) { LLMemType mt(LLMemType::MTYPE_SPACE_PARTITION); - drawablep->setSpatialGroup(NULL); - if (!curp->removeObject(drawablep)) { OCT_ERRS << "Failed to remove drawable from octree!" << llendl; } + drawablep->setSpatialGroup(NULL); + assert_octree_valid(mOctree); return TRUE; |
