diff options
author | Jacek Antonelli | 2008-08-15 23:44:56 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:56 -0500 |
commit | c07901e29ed545bbb02e3bddf148fe1104b94e9f (patch) | |
tree | f1ada64ce834acd7d92a425efb96c4b86bcf16b1 /linden/indra/newview/llspatialpartition.cpp | |
parent | Second Life viewer sources 1.15.0.2 (diff) | |
download | meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.zip meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.gz meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.bz2 meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.xz |
Second Life viewer sources 1.15.1.3
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llspatialpartition.cpp | 7 |
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 | ||