aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llspatialpartition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llspatialpartition.cpp')
-rw-r--r--linden/indra/newview/llspatialpartition.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/newview/llspatialpartition.cpp b/linden/indra/newview/llspatialpartition.cpp
index 46b9df9..d62a93e 100644
--- a/linden/indra/newview/llspatialpartition.cpp
+++ b/linden/indra/newview/llspatialpartition.cpp
@@ -1180,6 +1180,13 @@ void LLSpatialPartition::move(LLDrawable *drawablep, LLSpatialGroup *curp, BOOL
1180{ 1180{
1181 LLMemType mt(LLMemType::MTYPE_SPACE_PARTITION); 1181 LLMemType mt(LLMemType::MTYPE_SPACE_PARTITION);
1182 LLFastTimer t(LLFastTimer::FTM_UPDATE_MOVE); 1182 LLFastTimer t(LLFastTimer::FTM_UPDATE_MOVE);
1183
1184 // sanity check submitted by open source user bushing Spatula
1185 // who was seeing crashing here. (See VWR-424 reported by Bunny Mayne)
1186 if (!drawablep) {
1187 OCT_ERRS << "LLSpatialPartition::move was passed a bad drawable." << llendl;
1188 return;
1189 }
1183 1190
1184 BOOL was_visible = curp ? curp->isVisible() : FALSE; 1191 BOOL was_visible = curp ? curp->isVisible() : FALSE;
1185 1192