diff options
author | Oz Linden <oz@lindenlab.com> | 2012-09-12 18:44:30 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-09-12 18:44:30 -0400 |
commit | 3f71d3b41c938fd5d433da6ca1b404586c49c401 (patch) | |
tree | 0ec16a8f4a8fed65834a0776097f074073cf0fa4 /indra/newview/llspatialpartition.cpp | |
parent | a11cc73736b6824e4dc6d0a693bcfb26514b16eb (diff) | |
parent | 3a36e3c6a82462b8d01e47707391be168e739b66 (diff) |
re-merge changes to disable tcmalloc
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
-rw-r--r-- | indra/newview/llspatialpartition.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index 325a2d3004..45ef8f1a6d 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -529,6 +529,7 @@ void LLSpatialGroup::setVisible() void LLSpatialGroup::validate() { + ll_assert_aligned(this,64); #if LL_OCTREE_PARANOIA_CHECK sg_assert(!isState(DIRTY)); @@ -1195,6 +1196,8 @@ LLSpatialGroup::LLSpatialGroup(OctreeNode* node, LLSpatialPartition* part) : mCurUpdatingSlotp(NULL), mCurUpdatingTexture (NULL) { + ll_assert_aligned(this,16); + sNodeCount++; LLMemType mt(LLMemType::MTYPE_SPACE_PARTITION); |