aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2015-03-17 18:55:33 +0000
committerJustin Clark-Casey (justincc)2015-03-17 18:55:33 +0000
commit310e44f25057bbe2676a54412fe3e8c3bb58c515 (patch)
treec5e8370879a1ad96294e7bfc2ac380b5d7eb9f8f /OpenSim/Region/Framework
parentDon't log http auth details by default. (diff)
downloadopensim-SC_OLD-310e44f25057bbe2676a54412fe3e8c3bb58c515.zip
opensim-SC_OLD-310e44f25057bbe2676a54412fe3e8c3bb58c515.tar.gz
opensim-SC_OLD-310e44f25057bbe2676a54412fe3e8c3bb58c515.tar.bz2
opensim-SC_OLD-310e44f25057bbe2676a54412fe3e8c3bb58c515.tar.xz
Re-enabled ability for avatar to ascend and descend whilst controlling view with lmb held down on avatar (in most viewers).
This had been disabled by 30b7863 (Fri Feb 27 2015). Relates to http://opensimulator.org/mantis/view.php?id=6835
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index b0aa434..cb6adb2 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3144,9 +3144,9 @@ namespace OpenSim.Region.Framework.Scenes
3144// vec, Rotation, thisAddSpeedModifier, Name); 3144// vec, Rotation, thisAddSpeedModifier, Name);
3145 3145
3146 Quaternion rot = Rotation; 3146 Quaternion rot = Rotation;
3147 if (!(Flying && m_mouseLook) && (PresenceType != PresenceType.Npc)) 3147 if (!Flying && PresenceType != PresenceType.Npc)
3148 { 3148 {
3149 // The only situation in which we care about X and Y is in mouselook flying. The rest of the time 3149 // The only situation in which we care about X and Y is avatar flying. The rest of the time
3150 // these parameters are not relevant for determining avatar movement direction and cause issues such 3150 // these parameters are not relevant for determining avatar movement direction and cause issues such
3151 // as wrong walk speed if the camera is rotated. 3151 // as wrong walk speed if the camera is rotated.
3152 rot.X = 0; 3152 rot.X = 0;