diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2011-03-07 18:10:28 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2011-03-07 18:10:28 -0700 |
commit | ec6092c3210e19e92f9309abcf25de95dbd4346a (patch) | |
tree | e08a50815bbdc5a3a6e8015034d7f9def0e41834 /indra/newview/llworld.cpp | |
parent | e64096da697d57d5b00f79ecda649ed76d4a70ba (diff) |
fix for STORM-1046:[crashhunters] crash in LWorld::removeRegion
STORM-1014: Viewer crash in LLSurface::getWaterHeight
STORM-1047:[crashhunters] crash at LLViewerObjectList::renderObjectsForMap
Diffstat (limited to 'indra/newview/llworld.cpp')
-rw-r--r-- | indra/newview/llworld.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp index 481148ba4e..8f7197c607 100644 --- a/indra/newview/llworld.cpp +++ b/indra/newview/llworld.cpp @@ -282,7 +282,9 @@ void LLWorld::removeRegion(const LLHost &host) updateWaterObjects(); - llassert_always(!gObjectList.hasMapObjectInRegion(regionp)) ; + //double check all objects of this region are removed. + gObjectList.clearAllMapObjectsInRegion(regionp) ; + //llassert_always(!gObjectList.hasMapObjectInRegion(regionp)) ; } |