diff options
Diffstat (limited to 'linden/indra/newview/llsurface.cpp')
-rw-r--r-- | linden/indra/newview/llsurface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llsurface.cpp b/linden/indra/newview/llsurface.cpp index b5eb902..48e469b 100644 --- a/linden/indra/newview/llsurface.cpp +++ b/linden/indra/newview/llsurface.cpp | |||
@@ -175,7 +175,7 @@ void LLSurface::create(const S32 grids_per_edge, | |||
175 | 175 | ||
176 | mOriginGlobal.setVec(origin_global); | 176 | mOriginGlobal.setVec(origin_global); |
177 | 177 | ||
178 | mPVArray.create(mGridsPerEdge, mGridsPerPatchEdge, gWorldPointer->getRegionScale()); | 178 | mPVArray.create(mGridsPerEdge, mGridsPerPatchEdge, LLWorld::getInstance()->getRegionScale()); |
179 | 179 | ||
180 | S32 number_of_grids = mGridsPerEdge * mGridsPerEdge; | 180 | S32 number_of_grids = mGridsPerEdge * mGridsPerEdge; |
181 | 181 | ||