mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
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
This commit is contained in:
@@ -827,7 +827,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
|
||||
private bool m_mouseLook;
|
||||
private bool m_leftButtonDown;
|
||||
// private bool m_leftButtonDown;
|
||||
|
||||
private bool m_inTransit;
|
||||
|
||||
@@ -1961,7 +1961,12 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
// DrawDistance = Scene.DefaultDrawDistance;
|
||||
|
||||
m_mouseLook = (flags & AgentManager.ControlFlags.AGENT_CONTROL_MOUSELOOK) != 0;
|
||||
m_leftButtonDown = (flags & AgentManager.ControlFlags.AGENT_CONTROL_LBUTTON_DOWN) != 0;
|
||||
|
||||
// FIXME: This does not work as intended because the viewer only sends the lbutton down when the button
|
||||
// is first pressed, not whilst it is held down. If this is required in the future then need to look
|
||||
// for an AGENT_CONTROL_LBUTTON_UP event and make sure to handle cases where an initial DOWN is not
|
||||
// received (e.g. on holding LMB down on the avatar in a viewer).
|
||||
// m_leftButtonDown = (flags & AgentManager.ControlFlags.AGENT_CONTROL_LBUTTON_DOWN) != 0;
|
||||
|
||||
#endregion Inputs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user