diff options
author | Jacek Antonelli | 2008-10-31 18:57:44 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-10-31 18:57:44 -0500 |
commit | 8a81ec3cc7f5998f7d75ef24f57bd9fc6eec1312 (patch) | |
tree | 606a35c18cf584a4a9e3182f69e929772a4d7bdf /linden/indra/newview/llviewerobjectlist.cpp | |
parent | Disable fmod by default. (diff) | |
parent | Merge branch 'VWR-2003' into nicholaz-patches (diff) | |
download | meta-impy-8a81ec3cc7f5998f7d75ef24f57bd9fc6eec1312.zip meta-impy-8a81ec3cc7f5998f7d75ef24f57bd9fc6eec1312.tar.gz meta-impy-8a81ec3cc7f5998f7d75ef24f57bd9fc6eec1312.tar.bz2 meta-impy-8a81ec3cc7f5998f7d75ef24f57bd9fc6eec1312.tar.xz |
Merge branch 'nicholaz-patches' into next
Diffstat (limited to 'linden/indra/newview/llviewerobjectlist.cpp')
-rw-r--r-- | linden/indra/newview/llviewerobjectlist.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewerobjectlist.cpp b/linden/indra/newview/llviewerobjectlist.cpp index 163b039..4fac9bc 100644 --- a/linden/indra/newview/llviewerobjectlist.cpp +++ b/linden/indra/newview/llviewerobjectlist.cpp | |||
@@ -861,6 +861,10 @@ void LLViewerObjectList::killObjects(LLViewerRegion *regionp) | |||
861 | if (objectp->mRegionp == regionp) | 861 | if (objectp->mRegionp == regionp) |
862 | { | 862 | { |
863 | killObject(objectp); | 863 | killObject(objectp); |
864 | |||
865 | // invalidate region pointer. region will become invalid, but | ||
866 | // refcounted objects may survive the cleanDeadObjects() call below | ||
867 | objectp->mRegionp = NULL; | ||
864 | } | 868 | } |
865 | } | 869 | } |
866 | 870 | ||