summaryrefslogtreecommitdiff
path: root/indra/newview/llspatialpartition.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-06-27 14:18:22 -0400
committerOz Linden <oz@lindenlab.com>2012-06-27 14:18:22 -0400
commit2c3e78f1f1f5851482e5e63d37af1325f3a19550 (patch)
tree1871ea15c18377defe5e20a198baf8072e791efc /indra/newview/llspatialpartition.cpp
parenteb03da6e993eb33e1fef9bf53268c66d325adf9a (diff)
parentc9f1b1b5113031d5879e8fcdcec263626a7d3122 (diff)
merge changes for DRTVWR-167
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
-rwxr-xr-x[-rw-r--r--]indra/newview/llspatialpartition.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp
index 325a2d3004..45ef8f1a6d 100644..100755
--- 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);