mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user