diff options
Diffstat (limited to 'indra/newview/llregionposition.cpp')
-rw-r--r-- | indra/newview/llregionposition.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llregionposition.cpp b/indra/newview/llregionposition.cpp index e900bd076f..c9e1304a64 100644 --- a/indra/newview/llregionposition.cpp +++ b/indra/newview/llregionposition.cpp @@ -85,7 +85,7 @@ LLVector3d LLRegionPosition::getPositionGlobal() const void LLRegionPosition::setPositionGlobal(const LLVector3d& position_global ) { - mRegionp = gWorldPointer->getRegionFromPosGlobal(position_global); + mRegionp = LLWorld::getInstance()->getRegionFromPosGlobal(position_global); if (mRegionp) { mPositionRegion = mRegionp->getPosRegionFromGlobal(position_global); |