aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-05-17 17:51:21 -0700
committerJacek Antonelli2010-06-19 02:40:55 -0500
commit9f3912b276787df78dbd7ffd6f0b6e27feadfc60 (patch)
treeb8f8cef8b6df820017b9fc6b86de0b72e1b06eaa /linden/indra/newview/llviewermessage.cpp
parentSupport 'tiny prims' (resizing down to 0.001m) on OpenSim, made sure the tool... (diff)
downloadmeta-impy-9f3912b276787df78dbd7ffd6f0b6e27feadfc60.zip
meta-impy-9f3912b276787df78dbd7ffd6f0b6e27feadfc60.tar.gz
meta-impy-9f3912b276787df78dbd7ffd6f0b6e27feadfc60.tar.bz2
meta-impy-9f3912b276787df78dbd7ffd6f0b6e27feadfc60.tar.xz
Ported IgnoreSimulatorCameraConstraints setting from Emerald
Diffstat (limited to 'linden/indra/newview/llviewermessage.cpp')
-rw-r--r--linden/indra/newview/llviewermessage.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp
index c6f93ee..1e185e6 100644
--- a/linden/indra/newview/llviewermessage.cpp
+++ b/linden/indra/newview/llviewermessage.cpp
@@ -4324,6 +4324,10 @@ void process_avatar_appearance(LLMessageSystem *mesgsys, void **user_data)
4324 4324
4325void process_camera_constraint(LLMessageSystem *mesgsys, void **user_data) 4325void process_camera_constraint(LLMessageSystem *mesgsys, void **user_data)
4326{ 4326{
4327 if(gSavedSettings.getBOOL("IgnoreSimulatorCameraConstraints"))
4328 {
4329 return;
4330 }
4327 LLVector4 cameraCollidePlane; 4331 LLVector4 cameraCollidePlane;
4328 mesgsys->getVector4Fast(_PREHASH_CameraCollidePlane, _PREHASH_Plane, cameraCollidePlane); 4332 mesgsys->getVector4Fast(_PREHASH_CameraCollidePlane, _PREHASH_Plane, cameraCollidePlane);
4329 4333