diff options
author | McCabe Maxsted | 2010-05-17 17:51:21 -0700 |
---|---|---|
committer | Jacek Antonelli | 2010-06-19 02:40:55 -0500 |
commit | 9f3912b276787df78dbd7ffd6f0b6e27feadfc60 (patch) | |
tree | b8f8cef8b6df820017b9fc6b86de0b72e1b06eaa /linden/indra/newview/llviewermessage.cpp | |
parent | Support 'tiny prims' (resizing down to 0.001m) on OpenSim, made sure the tool... (diff) | |
download | meta-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.cpp | 4 |
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 | ||
4325 | void process_camera_constraint(LLMessageSystem *mesgsys, void **user_data) | 4325 | void 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 | ||