aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewercamera.cpp
diff options
context:
space:
mode:
authorDavid Seikel2011-06-12 21:18:18 +1000
committerDavid Seikel2011-06-12 21:18:18 +1000
commit5c192c92bf02910d93956068017daa2b9e4b80ba (patch)
tree9c1bbbcfd6443e5b0df08bd212b3bd5027891e74 /linden/indra/newview/llviewercamera.cpp
parentRejig skins again. (diff)
parentUpdated app_settings/default_grids.xml from our online grid list. (diff)
downloadmeta-impy-5c192c92bf02910d93956068017daa2b9e4b80ba.zip
meta-impy-5c192c92bf02910d93956068017daa2b9e4b80ba.tar.gz
meta-impy-5c192c92bf02910d93956068017daa2b9e4b80ba.tar.bz2
meta-impy-5c192c92bf02910d93956068017daa2b9e4b80ba.tar.xz
Merge remote-tracking branch 'jacek/next' into next
Conflicts (manualy merged): linden/indra/newview/app_settings/default_grids.xml linden/indra/newview/primbackup.cpp linden/indra/newview/skins/default/xui/en-us/floater_about.xml linden/indra/newview/skins/default/xui/en-us/notifications.xml InWorldz specific crap removed.
Diffstat (limited to 'linden/indra/newview/llviewercamera.cpp')
-rw-r--r--linden/indra/newview/llviewercamera.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewercamera.cpp b/linden/indra/newview/llviewercamera.cpp
index 16f6e57..fecab65 100644
--- a/linden/indra/newview/llviewercamera.cpp
+++ b/linden/indra/newview/llviewercamera.cpp
@@ -51,6 +51,8 @@
51#include "lltoolmgr.h" 51#include "lltoolmgr.h"
52#include "llviewerjoystick.h" 52#include "llviewerjoystick.h"
53 53
54#include "hippolimits.h"
55
54//glu pick matrix implementation borrowed from Mesa3D 56//glu pick matrix implementation borrowed from Mesa3D
55glh::matrix4f gl_pick_matrix(GLfloat x, GLfloat y, GLfloat width, GLfloat height, GLint* viewport) 57glh::matrix4f gl_pick_matrix(GLfloat x, GLfloat y, GLfloat width, GLfloat height, GLint* viewport)
56{ 58{
@@ -334,7 +336,7 @@ void LLViewerCamera::setPerspective(BOOL for_selection,
334 if (limit_select_distance) 336 if (limit_select_distance)
335 { 337 {
336 // ...select distance from control 338 // ...select distance from control
337 z_far = gSavedSettings.getF32("MaxSelectDistance"); 339 z_far = gHippoLimits->getMaxSelectDistance();
338 } 340 }
339 else 341 else
340 { 342 {