diff options
author | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
commit | ce28e056c20bf2723f565bbf464b87781ec248a2 (patch) | |
tree | ef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/lldrawpoolground.cpp | |
parent | Second Life viewer sources 1.19.1.4b (diff) | |
download | meta-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/lldrawpoolground.cpp')
-rw-r--r-- | linden/indra/newview/lldrawpoolground.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/lldrawpoolground.cpp b/linden/indra/newview/lldrawpoolground.cpp index dc5e397..a1c5a99 100644 --- a/linden/indra/newview/lldrawpoolground.cpp +++ b/linden/indra/newview/lldrawpoolground.cpp | |||
@@ -79,7 +79,7 @@ void LLDrawPoolGround::render(S32 pass) | |||
79 | 79 | ||
80 | F32 water_height = gAgent.getRegion()->getWaterHeight(); | 80 | F32 water_height = gAgent.getRegion()->getWaterHeight(); |
81 | glPushMatrix(); | 81 | glPushMatrix(); |
82 | LLVector3 origin = gCamera->getOrigin(); | 82 | LLVector3 origin = LLViewerCamera::getInstance()->getOrigin(); |
83 | glTranslatef(origin.mV[0], origin.mV[1], llmax(origin.mV[2], water_height)); | 83 | glTranslatef(origin.mV[0], origin.mV[1], llmax(origin.mV[2], water_height)); |
84 | 84 | ||
85 | LLFace *facep = mDrawFace[0]; | 85 | LLFace *facep = mDrawFace[0]; |