From 50ce0c4183ca4dadd62d958accb8a1d8a65234d3 Mon Sep 17 00:00:00 2001 From: Aleric Inglewood Date: Fri, 3 Jun 2011 23:22:10 +0200 Subject: [PATCH] Compiler error fix. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit indra/newview/llspatialpartition.cpp:1079:53: error: operation on ‘((LLSpatialGroup*)this)->LLSpatialGroup::mObjectBounds[0]’ may be undefined --- indra/newview/llspatialpartition.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index ca70e52e6..1c789e1ca 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -1075,7 +1075,7 @@ LLSpatialGroup::LLSpatialGroup(OctreeNode* node, LLSpatialPartition* part) : sNodeCount++; LLMemType mt(LLMemType::MTYPE_SPACE_PARTITION); - mExtents[0] = mExtents[1] = mObjectBounds[0] = mObjectBounds[0] = mObjectBounds[1] = + mExtents[0] = mExtents[1] = mObjectBounds[0] = mObjectBounds[1] = mObjectExtents[0] = mObjectExtents[1] = mViewAngle; sg_assert(mOctreeNode->getListenerCount() == 0);