aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorRevolutionSmythe2011-03-18 20:41:22 -0500
committerRevolutionSmythe2011-03-18 20:41:22 -0500
commit7df2707d9a70028b85eef57ae09bc2062db51f77 (patch)
treebb4c5627ab28a6c9d09ca95d10ec88d745bf310b /linden/indra
parentFix setting the viewer offset time from OpenRegionSettings, and also have it ... (diff)
downloadmeta-impy-7df2707d9a70028b85eef57ae09bc2062db51f77.zip
meta-impy-7df2707d9a70028b85eef57ae09bc2062db51f77.tar.gz
meta-impy-7df2707d9a70028b85eef57ae09bc2062db51f77.tar.bz2
meta-impy-7df2707d9a70028b85eef57ae09bc2062db51f77.tar.xz
Fix a bug that only occurs when not running in a debugger.
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/newview/llviewerparcelmgr.cpp3
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)
149void LLViewerParcelMgr::init(F32 region_size) 149void 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