aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewercamera.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2009-05-24 02:59:24 -0500
committerJacek Antonelli2009-05-24 02:59:40 -0500
commitb2627d927f1642bea84b92adfccd9403676e1341 (patch)
tree07f069e63cfa633b9bd0d07b4eecc229ef67f974 /linden/indra/newview/llviewercamera.cpp
parentSecond Life viewer sources 1.23.1-RC (diff)
downloadmeta-impy-b2627d927f1642bea84b92adfccd9403676e1341.zip
meta-impy-b2627d927f1642bea84b92adfccd9403676e1341.tar.gz
meta-impy-b2627d927f1642bea84b92adfccd9403676e1341.tar.bz2
meta-impy-b2627d927f1642bea84b92adfccd9403676e1341.tar.xz
Second Life viewer sources 1.23.2-RC
Diffstat (limited to 'linden/indra/newview/llviewercamera.cpp')
-rw-r--r--linden/indra/newview/llviewercamera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewercamera.cpp b/linden/indra/newview/llviewercamera.cpp
index f54830f..72d1494 100644
--- a/linden/indra/newview/llviewercamera.cpp
+++ b/linden/indra/newview/llviewercamera.cpp
@@ -772,7 +772,7 @@ BOOL LLViewerCamera::areVertsVisible(LLViewerObject* volumep, BOOL all_verts)
772// changes local camera and broadcasts change 772// changes local camera and broadcasts change
773/* virtual */ void LLViewerCamera::setView(F32 vertical_fov_rads) 773/* virtual */ void LLViewerCamera::setView(F32 vertical_fov_rads)
774{ 774{
775 F32 old_fov = LLViewerCamera::getInstance()->getDefaultFOV(); 775 F32 old_fov = LLViewerCamera::getInstance()->getView();
776 776
777 // cap the FoV 777 // cap the FoV
778 vertical_fov_rads = llclamp(vertical_fov_rads, getMinView(), getMaxView()); 778 vertical_fov_rads = llclamp(vertical_fov_rads, getMinView(), getMaxView());