diff options
author | Justin Clark-Casey (justincc) | 2015-02-27 23:48:05 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2015-02-27 23:48:05 +0000 |
commit | 59d6d03909b89dedb41e3dd23d1e67f198191947 (patch) | |
tree | 89f623b6c6c18be0c609dce108cb94fefd311dc0 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Don't slow down avatar walk speed if camera is changed (e.g. by holding down ... (diff) | |
download | opensim-SC-59d6d03909b89dedb41e3dd23d1e67f198191947.zip opensim-SC-59d6d03909b89dedb41e3dd23d1e67f198191947.tar.gz opensim-SC-59d6d03909b89dedb41e3dd23d1e67f198191947.tar.bz2 opensim-SC-59d6d03909b89dedb41e3dd23d1e67f198191947.tar.xz |
Comment out now unused and not properly working private SP.m_leftButtonDown with a comment on how probably to implement it properly if it is needed in the future
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 9 |
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 | ||