summaryrefslogtreecommitdiff
path: root/indra/newview/llagentcamera.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-12-13 10:08:55 -0500
committerLoren Shih <seraph@lindenlab.com>2010-12-13 10:08:55 -0500
commit618249155ae333c64c693a0f7f38453f3c871787 (patch)
treedb28a3725a4e099735d4ce457ecf90267f8401da /indra/newview/llagentcamera.cpp
parent6f8ff871cdd0402d07800444f0524079fe02fac6 (diff)
parente27bcbe0d20c87556b0bcb1e3feaaea6544d3e16 (diff)
Automated merge up from viewer-development
Diffstat (limited to 'indra/newview/llagentcamera.cpp')
-rw-r--r--indra/newview/llagentcamera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llagentcamera.cpp b/indra/newview/llagentcamera.cpp
index 29d26a117f..c49a878648 100644
--- a/indra/newview/llagentcamera.cpp
+++ b/indra/newview/llagentcamera.cpp
@@ -2043,7 +2043,7 @@ void LLAgentCamera::resetCamera()
//-----------------------------------------------------------------------------
void LLAgentCamera::changeCameraToMouselook(BOOL animate)
{
- if (LLViewerJoystick::getInstance()->getOverrideCamera())
+ if (!gSavedSettings.getBOOL("EnableMouselook") || LLViewerJoystick::getInstance()->getOverrideCamera())
{
return;
}