diff options
| author | Xiaohong Bao <bao@lindenlab.com> | 2013-06-21 13:02:20 -0600 |
|---|---|---|
| committer | Xiaohong Bao <bao@lindenlab.com> | 2013-06-21 13:02:20 -0600 |
| commit | 92339583e6454bd6e769a6dcb0ad2eee31abfb1f (patch) | |
| tree | c2980a73bed471e1397bb0939a34d8f34ba6744c /indra/newview/llviewerregion.cpp | |
| parent | 7d88994edc38cf1c037877a5c7c86e35818b7b79 (diff) | |
for SH-4241: viewer crash shortly after login in LLViewerRegion::addNewObject
Diffstat (limited to 'indra/newview/llviewerregion.cpp')
| -rwxr-xr-x | indra/newview/llviewerregion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerregion.cpp b/indra/newview/llviewerregion.cpp index a2fd440895..c3c791c158 100755 --- a/indra/newview/llviewerregion.cpp +++ b/indra/newview/llviewerregion.cpp @@ -992,7 +992,7 @@ void LLViewerRegion::removeFromVOCacheTree(LLVOCacheEntry* entry) //add the visible entries void LLViewerRegion::addVisibleCacheEntry(LLVOCacheEntry* entry) { - if(mDead || !entry) + if(mDead || !entry || !entry->getEntry()) { return; } |
