From ca48278cde2d94bbcf6a65ec84a41aaf15d0c509 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Sun, 17 Apr 2016 19:15:13 +0200 Subject: [PATCH] FIRE-17419: Speculative shot in the blue fix for minimap property lines being corrupted on OpenSim with VarRegions --- indra/newview/llnetmap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/llnetmap.cpp b/indra/newview/llnetmap.cpp index 1784577c8c..f0ce3d3585 100755 --- a/indra/newview/llnetmap.cpp +++ b/indra/newview/llnetmap.cpp @@ -1305,8 +1305,8 @@ void LLNetMap::renderPropertyLinesForRegion(const LLViewerRegion* pRegion, const // // Render parcel lines // - static const F32 GRID_STEP = PARCEL_GRID_STEP_METERS; - static const S32 GRIDS_PER_EDGE = real_width / GRID_STEP; + const F32 GRID_STEP = PARCEL_GRID_STEP_METERS; + const S32 GRIDS_PER_EDGE = real_width / GRID_STEP; const U8* pOwnership = pRegion->getParcelOverlay()->getOwnership(); const U8* pCollision = (pRegion->getHandle() == LLViewerParcelMgr::instance().getCollisionRegionHandle()) ? LLViewerParcelMgr::instance().getCollisionBitmap() : NULL;