From 310e44f25057bbe2676a54412fe3e8c3bb58c515 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Tue, 17 Mar 2015 18:55:33 +0000 Subject: 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 --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region') 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 // vec, Rotation, thisAddSpeedModifier, Name); Quaternion rot = Rotation; - if (!(Flying && m_mouseLook) && (PresenceType != PresenceType.Npc)) + if (!Flying && PresenceType != PresenceType.Npc) { - // The only situation in which we care about X and Y is in mouselook flying. The rest of the time + // The only situation in which we care about X and Y is avatar flying. The rest of the time // these parameters are not relevant for determining avatar movement direction and cause issues such // as wrong walk speed if the camera is rotated. rot.X = 0; -- cgit v1.1