From Alexander Sinditskiy, "I found issue with capturing mouse buttons.
This issue can be reproduced: 1. Create osgViewer window, 2. Push right&left mouse buttons on the osgViewer window, 3. Move mouse out of window, and release right&left mouse buttons. osgViewer window handle only first mouse release, as result window thinks that we did not released second mouse button. I attached fix for this issue."
This commit is contained in:
@@ -183,6 +183,8 @@ class OSGVIEWER_EXPORT GraphicsWindowWin32 : public osgViewer::GraphicsWindow, p
|
||||
|
||||
std::map<std::pair<int, int>, bool> _keyMap;
|
||||
|
||||
std::set<int> _capturedMouseButtons;
|
||||
|
||||
bool _applyWorkaroundForMultimonitorMultithreadNVidiaWin32Issues;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user