aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvoground.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/llvoground.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 '')
-rw-r--r--linden/indra/newview/llvoground.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llvoground.cpp b/linden/indra/newview/llvoground.cpp
index a985c44..32622ec 100644
--- a/linden/indra/newview/llvoground.cpp
+++ b/linden/indra/newview/llvoground.cpp
@@ -122,13 +122,13 @@ BOOL LLVOGround::updateGeometry(LLDrawable *drawable)
122 // 122 //
123 // 123 //
124 // 124 //
125 LLVector3 at_dir = gCamera->getAtAxis(); 125 LLVector3 at_dir = LLViewerCamera::getInstance()->getAtAxis();
126 at_dir.mV[VZ] = 0.f; 126 at_dir.mV[VZ] = 0.f;
127 if (at_dir.normVec() < 0.01) 127 if (at_dir.normVec() < 0.01)
128 { 128 {
129 // We really don't care, as we're not looking anywhere near the horizon. 129 // We really don't care, as we're not looking anywhere near the horizon.
130 } 130 }
131 LLVector3 left_dir = gCamera->getLeftAxis(); 131 LLVector3 left_dir = LLViewerCamera::getInstance()->getLeftAxis();
132 left_dir.mV[VZ] = 0.f; 132 left_dir.mV[VZ] = 0.f;
133 left_dir.normVec(); 133 left_dir.normVec();
134 134