diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2016-03-10 14:31:16 +0200 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2016-03-10 14:31:16 +0200 |
commit | 9ed050e0e0f2687bb0a78cc1eaaf706ffb9db587 (patch) | |
tree | d0e893e08eb4ccc83f2f0b3c04848b520402c4b8 | |
parent | 37809faefa44ebf4add323328a3c6d15a0d8e31b (diff) |
MAINT-3171 WIP Alt-clicking while moving mouse can move the camera significantly
-rw-r--r-- | indra/llwindow/llopenglview-objc.mm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llwindow/llopenglview-objc.mm b/indra/llwindow/llopenglview-objc.mm index 406bc9cf47..f3b8dac844 100644 --- a/indra/llwindow/llopenglview-objc.mm +++ b/indra/llwindow/llopenglview-objc.mm @@ -341,6 +341,9 @@ attributedStringInfo getSegments(NSAttributedString *str) callRightMouseUp(mMousePos, [theEvent modifierFlags]); mSimulatedRightClick = false; } else { + NSPoint mPoint = [theEvent locationInWindow]; + mMousePos[0] = mPoint.x; + mMousePos[1] = mPoint.y; callLeftMouseUp(mMousePos, [theEvent modifierFlags]); } } |