From 9f3912b276787df78dbd7ffd6f0b6e27feadfc60 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Mon, 17 May 2010 17:51:21 -0700 Subject: Ported IgnoreSimulatorCameraConstraints setting from Emerald --- linden/indra/newview/llviewermessage.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linden/indra/newview/llviewermessage.cpp') 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) void process_camera_constraint(LLMessageSystem *mesgsys, void **user_data) { + if(gSavedSettings.getBOOL("IgnoreSimulatorCameraConstraints")) + { + return; + } LLVector4 cameraCollidePlane; mesgsys->getVector4Fast(_PREHASH_CameraCollidePlane, _PREHASH_Plane, cameraCollidePlane); -- cgit v1.1