summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Stiefvater (qarl) <qarl@lindenlab.com>2010-06-18 12:57:56 -0500
committerKarl Stiefvater (qarl) <qarl@lindenlab.com>2010-06-18 12:57:56 -0500
commit463c0ad32b3273dec64171ae961931dfdd310981 (patch)
tree020a6eede07afe474d53c6711ef347aef6617a6a
parentd0a8ae4557dec36c73b4eddcd07c61b0014c459c (diff)
EXT-7446 Spatial Partition Crash
-rw-r--r--indra/newview/lldrawable.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/newview/lldrawable.cpp b/indra/newview/lldrawable.cpp
index 38eda5bd2e..3f9d3fdbef 100644
--- a/indra/newview/lldrawable.cpp
+++ b/indra/newview/lldrawable.cpp
@@ -1366,10 +1366,11 @@ void LLSpatialBridge::move(LLDrawable *drawablep, LLSpatialGroup *curp, BOOL imm
BOOL LLSpatialBridge::updateMove()
{
- llassert(mDrawable);
- llassert(mDrawable->getRegion());
+ llassert_always(mDrawable);
+ llassert_always(mDrawable->mVObjp);
+ llassert_always(mDrawable->getRegion());
LLSpatialPartition* part = mDrawable->getRegion()->getSpatialPartition(mPartitionType);
- llassert(part);
+ llassert_always(part);
mOctree->balance();
if (part)