From 389780f076c5ee39697065a9649438280e4a9d58 Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 2 Nov 2010 21:26:49 +0100 Subject: [PATCH] Changed: #945 Reverted because it brokes mouse under Windows (if we really need to have both motion and click events, we can send them directly from NeL driver) --- code/ryzom/client/src/interface_v3/input_handler_manager.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/code/ryzom/client/src/interface_v3/input_handler_manager.cpp b/code/ryzom/client/src/interface_v3/input_handler_manager.cpp index cfbaf009d..12efeed5a 100644 --- a/code/ryzom/client/src/interface_v3/input_handler_manager.cpp +++ b/code/ryzom/client/src/interface_v3/input_handler_manager.cpp @@ -325,7 +325,6 @@ void CInputHandlerManager::operator ()(const NLMISC::CEvent &event) _MouseButtonsState = (TMouseButton) (_MouseButtonsState | pEvent->Button); rIP.setButtonState(_MouseButtonsState); - updateMousePos((CEventMouse&)event, eventDesc); // handle Event if(pEvent->Button & leftButton) @@ -350,7 +349,6 @@ void CInputHandlerManager::operator ()(const NLMISC::CEvent &event) _MouseButtonsState = (TMouseButton) (_MouseButtonsState & ~(pEvent->Button)); rIP.setButtonState(_MouseButtonsState); - updateMousePos((CEventMouse&)event, eventDesc); // handle Event if(pEvent->Button & leftButton) @@ -370,7 +368,6 @@ void CInputHandlerManager::operator ()(const NLMISC::CEvent &event) // TODO: yoyo make it work if needed (for now, seems preferable to manage in each ActionHandler) CEventMouseDblClk* pEvent=(CEventMouseDblClk*)&event; - updateMousePos((CEventMouse&)event, eventDesc); // handle Event if(pEvent->Button & leftButton) @@ -398,8 +395,6 @@ void CInputHandlerManager::operator ()(const NLMISC::CEvent &event) else _MouseWheel -= 1; - updateMousePos((CEventMouse&)event, eventDesc); - // handle Event now. if (_MouseWheel != 0) {