Revert "Crude port of megaregion mem corruption fix, by Rev"

This reverts commit 6b60fe40c6.
This commit is contained in:
Siana Gearz
2012-01-14 05:33:05 +01:00
parent 242134d2af
commit e835d51bdf
4 changed files with 11 additions and 9 deletions

View File

@@ -176,7 +176,6 @@ void LLSurface::create(const S32 grids_per_edge,
mNumberOfPatches = mPatchesPerEdge * mPatchesPerEdge;
mMetersPerGrid = width / ((F32)(mGridsPerEdge - 1));
mMetersPerEdge = mMetersPerGrid * (mGridsPerEdge - 1);
sTextureSize = width;
mOriginGlobal.setVec(origin_global);