aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llregionposition.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:42 -0500
committerJacek Antonelli2008-08-15 23:45:42 -0500
commitce28e056c20bf2723f565bbf464b87781ec248a2 (patch)
treeef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llregionposition.cpp
parentSecond Life viewer sources 1.19.1.4b (diff)
downloadmeta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz
Second Life viewer sources 1.20.2
Diffstat (limited to 'linden/indra/newview/llregionposition.cpp')
-rw-r--r--linden/indra/newview/llregionposition.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llregionposition.cpp b/linden/indra/newview/llregionposition.cpp
index 49a747e..de2c11d 100644
--- a/linden/indra/newview/llregionposition.cpp
+++ b/linden/indra/newview/llregionposition.cpp
@@ -85,7 +85,7 @@ LLVector3d LLRegionPosition::getPositionGlobal() const
85 85
86void LLRegionPosition::setPositionGlobal(const LLVector3d& position_global ) 86void LLRegionPosition::setPositionGlobal(const LLVector3d& position_global )
87{ 87{
88 mRegionp = gWorldPointer->getRegionFromPosGlobal(position_global); 88 mRegionp = LLWorld::getInstance()->getRegionFromPosGlobal(position_global);
89 if (mRegionp) 89 if (mRegionp)
90 { 90 {
91 mPositionRegion = mRegionp->getPosRegionFromGlobal(position_global); 91 mPositionRegion = mRegionp->getPosRegionFromGlobal(position_global);