aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/newview/llagent.cpp4
-rw-r--r--linden/indra/newview/llviewerjoystick.cpp2
2 files changed, 4 insertions, 2 deletions
diff --git a/linden/indra/newview/llagent.cpp b/linden/indra/newview/llagent.cpp
index e8ee2a1..ef05fae 100644
--- a/linden/indra/newview/llagent.cpp
+++ b/linden/indra/newview/llagent.cpp
@@ -4068,7 +4068,7 @@ void LLAgent::changeCameraToMouselook(BOOL animate)
4068{ 4068{
4069 if (LLViewerJoystick::getInstance()->getOverrideCamera()) 4069 if (LLViewerJoystick::getInstance()->getOverrideCamera())
4070 { 4070 {
4071 return; 4071 LLViewerJoystick::getInstance()->setOverrideCamera(false);
4072 } 4072 }
4073 4073
4074 // visibility changes at end of animation 4074 // visibility changes at end of animation
@@ -4131,7 +4131,7 @@ void LLAgent::changeCameraToDefault()
4131{ 4131{
4132 if (LLViewerJoystick::getInstance()->getOverrideCamera()) 4132 if (LLViewerJoystick::getInstance()->getOverrideCamera())
4133 { 4133 {
4134 return; 4134 LLViewerJoystick::getInstance()->setOverrideCamera(false);
4135 } 4135 }
4136 4136
4137 if (LLFollowCamMgr::getActiveFollowCamParams()) 4137 if (LLFollowCamMgr::getActiveFollowCamParams())
diff --git a/linden/indra/newview/llviewerjoystick.cpp b/linden/indra/newview/llviewerjoystick.cpp
index 652e50e..d955a80 100644
--- a/linden/indra/newview/llviewerjoystick.cpp
+++ b/linden/indra/newview/llviewerjoystick.cpp
@@ -264,6 +264,8 @@ void LLViewerJoystick::init(bool autoenable)
264 // It's not a Space Navigator 264 // It's not a Space Navigator
265 gSavedSettings.setString("JoystickInitialized", "UnknownDevice"); 265 gSavedSettings.setString("JoystickInitialized", "UnknownDevice");
266 } 266 }
267
268 gSavedSettings.setBOOL("JoystickEnabled", TRUE );
267 } 269 }
268 else 270 else
269 { 271 {