aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index acd57a3..35eaea0 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -827,7 +827,7 @@ namespace OpenSim.Region.Framework.Scenes
827 } 827 }
828 828
829 private bool m_mouseLook; 829 private bool m_mouseLook;
830 private bool m_leftButtonDown; 830// private bool m_leftButtonDown;
831 831
832 private bool m_inTransit; 832 private bool m_inTransit;
833 833
@@ -1961,7 +1961,12 @@ namespace OpenSim.Region.Framework.Scenes
1961 // DrawDistance = Scene.DefaultDrawDistance; 1961 // DrawDistance = Scene.DefaultDrawDistance;
1962 1962
1963 m_mouseLook = (flags & AgentManager.ControlFlags.AGENT_CONTROL_MOUSELOOK) != 0; 1963 m_mouseLook = (flags & AgentManager.ControlFlags.AGENT_CONTROL_MOUSELOOK) != 0;
1964 m_leftButtonDown = (flags & AgentManager.ControlFlags.AGENT_CONTROL_LBUTTON_DOWN) != 0; 1964
1965 // FIXME: This does not work as intended because the viewer only sends the lbutton down when the button
1966 // is first pressed, not whilst it is held down. If this is required in the future then need to look
1967 // for an AGENT_CONTROL_LBUTTON_UP event and make sure to handle cases where an initial DOWN is not
1968 // received (e.g. on holding LMB down on the avatar in a viewer).
1969// m_leftButtonDown = (flags & AgentManager.ControlFlags.AGENT_CONTROL_LBUTTON_DOWN) != 0;
1965 1970
1966 #endregion Inputs 1971 #endregion Inputs
1967 1972