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:
Robert Osfield
2012-11-08 17:19:51 +00:00
parent 1b871a822d
commit 36f6ef7242
2 changed files with 14 additions and 2 deletions

View File

@@ -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;
};