FIRE-17419: Speculative shot in the blue fix for minimap property lines being corrupted on OpenSim with VarRegions

Sun, 17 Apr 2016 19:15:13 +0200

author
Ansariel
date
Sun, 17 Apr 2016 19:15:13 +0200
changeset 48951
42afbe8657cf
parent 48950
b08e631b4fb7
child 48952
040e26898579

FIRE-17419: Speculative shot in the blue fix for minimap property lines being corrupted on OpenSim with VarRegions

indra/newview/llnetmap.cpp file | annotate | diff | revisions
     1.1 --- a/indra/newview/llnetmap.cpp	Sat Apr 16 00:57:12 2016 +0200
     1.2 +++ b/indra/newview/llnetmap.cpp	Sun Apr 17 19:15:13 2016 +0200
     1.3 @@ -1305,8 +1305,8 @@
     1.4  	//
     1.5  	// Render parcel lines
     1.6  	//
     1.7 -	static const F32 GRID_STEP = PARCEL_GRID_STEP_METERS;
     1.8 -	static const S32 GRIDS_PER_EDGE = real_width / GRID_STEP;
     1.9 +	const F32 GRID_STEP = PARCEL_GRID_STEP_METERS;
    1.10 +	const S32 GRIDS_PER_EDGE = real_width / GRID_STEP;
    1.11  
    1.12  	const U8* pOwnership = pRegion->getParcelOverlay()->getOwnership();
    1.13  	const U8* pCollision = (pRegion->getHandle() == LLViewerParcelMgr::instance().getCollisionRegionHandle()) ? LLViewerParcelMgr::instance().getCollisionBitmap() : NULL;

mercurial