diff options
author | Karl Stiefvater (qarl) <qarl@lindenlab.com> | 2010-06-18 12:57:56 -0500 |
---|---|---|
committer | Karl Stiefvater (qarl) <qarl@lindenlab.com> | 2010-06-18 12:57:56 -0500 |
commit | 463c0ad32b3273dec64171ae961931dfdd310981 (patch) | |
tree | 020a6eede07afe474d53c6711ef347aef6617a6a | |
parent | d0a8ae4557dec36c73b4eddcd07c61b0014c459c (diff) |
EXT-7446 Spatial Partition Crash
-rw-r--r-- | indra/newview/lldrawable.cpp | 7 |
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) |