diff options
-rw-r--r-- | linden/indra/newview/llviewerparcelmgr.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linden/indra/newview/llviewerparcelmgr.cpp b/linden/indra/newview/llviewerparcelmgr.cpp index abe0e9f..7373c3f 100644 --- a/linden/indra/newview/llviewerparcelmgr.cpp +++ b/linden/indra/newview/llviewerparcelmgr.cpp | |||
@@ -148,8 +148,7 @@ LLViewerParcelMgr::LLViewerParcelMgr() | |||
148 | //on a single grid properly - Patrick Sapinski (2/10/2011) | 148 | //on a single grid properly - Patrick Sapinski (2/10/2011) |
149 | void LLViewerParcelMgr::init(F32 region_size) | 149 | void LLViewerParcelMgr::init(F32 region_size) |
150 | { | 150 | { |
151 | 151 | mParcelsPerEdge = S32( region_size / PARCEL_GRID_STEP_METERS ); | |
152 | mParcelsPerEdge = S32( REGION_WIDTH_METERS / PARCEL_GRID_STEP_METERS ); | ||
153 | mHighlightSegments = new U8[(mParcelsPerEdge+1)*(mParcelsPerEdge+1)]; | 152 | mHighlightSegments = new U8[(mParcelsPerEdge+1)*(mParcelsPerEdge+1)]; |
154 | resetSegments(mHighlightSegments); | 153 | resetSegments(mHighlightSegments); |
155 | 154 | ||