summaryrefslogtreecommitdiff
path: root/indra/newview/llspatialpartition.cpp
diff options
context:
space:
mode:
authorvoidpointer <none@none>2012-10-18 15:34:43 -0700
committervoidpointer <none@none>2012-10-18 15:34:43 -0700
commit88fb47bf84b4e995ca36632fc9154cb5a3763def (patch)
treeac984df2807dd321508eb2838b2386a215691b59 /indra/newview/llspatialpartition.cpp
parent48b2dbcd65e72994054b9e525c0e45e346a981fb (diff)
parent9cc1dfd4e6f3859e690da578adde057ec9a82e18 (diff)
merge
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
-rw-r--r--indra/newview/llspatialpartition.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp
index fc15b8b7f4..af740fe73d 100644
--- a/indra/newview/llspatialpartition.cpp
+++ b/indra/newview/llspatialpartition.cpp
@@ -1832,6 +1832,8 @@ BOOL LLSpatialPartition::remove(LLDrawable *drawablep, LLSpatialGroup *curp)
drawablep->setSpatialGroup(NULL);
}
+ drawablep->setSpatialGroup(NULL);
+
assert_octree_valid(mOctree);
return TRUE;
@@ -4162,7 +4164,7 @@ public:
{
if (index < 255)
{
- if (facep->mDrawInfo->mTextureList.size()<= index)
+ if (facep->mDrawInfo->mTextureList.size() <= index)
{
llerrs << "Face texture index out of bounds." << llendl;
}