aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/app_settings/settings.xml11
-rw-r--r--linden/indra/newview/llviewermessage.cpp4
2 files changed, 15 insertions, 0 deletions
diff --git a/linden/indra/newview/app_settings/settings.xml b/linden/indra/newview/app_settings/settings.xml
index 19ad234..b883231 100644
--- a/linden/indra/newview/app_settings/settings.xml
+++ b/linden/indra/newview/app_settings/settings.xml
@@ -157,6 +157,17 @@
157 <key>Value</key> 157 <key>Value</key>
158 <integer>0</integer> 158 <integer>0</integer>
159 </map> 159 </map>
160 <key>IgnoreSimulatorCameraConstraints</key>
161 <map>
162 <key>Comment</key>
163 <string>Ignores the 'push' the simulator applies to your camera to keep it out of objects.(Requires restart to work correctly)</string>
164 <key>Persist</key>
165 <integer>1</integer>
166 <key>Type</key>
167 <string>Boolean</string>
168 <key>Value</key>
169 <integer>1</integer>
170 </map>
160 <key>LastGrass</key> 171 <key>LastGrass</key>
161 <map> 172 <map>
162 <key>Comment</key> 173 <key>Comment</key>
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