summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.cpp
diff options
context:
space:
mode:
authorKarl Stiefvater (qarl) <qarl@lindenlab.com>2010-06-25 09:59:20 -0500
committerKarl Stiefvater (qarl) <qarl@lindenlab.com>2010-06-25 09:59:20 -0500
commitabb607a65e8a3f9328a0ce97fa5d3d08a75338ef (patch)
tree19beb62e2f6eea50f6f0ec556dafb015037c224a /indra/newview/llviewerobject.cpp
parentc77efc92e3ebcb9af9bb997e5b709484153844d4 (diff)
EXT-7446 Spatial Partition Crash. reviewed by Richard.
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r--indra/newview/llviewerobject.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index ee89680fea..9027caa4ce 100644
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -4928,6 +4928,11 @@ void LLViewerObject::setIncludeInSearch(bool include_in_search)
void LLViewerObject::setRegion(LLViewerRegion *regionp)
{
+ if (!regionp)
+ {
+ llwarns << "viewer object set region to NULL" << llendl;
+ }
+
mLatestRecvPacketID = 0;
mRegionp = regionp;