summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2014-07-02 10:29:48 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2014-07-02 10:29:48 +0300
commitb6710fe6b53c3266adbcea11d1ea7c4cb5cabcc1 (patch)
treeef8055795057e4ad1954aa17a201e7c5f3b1dd4a /indra/newview/llviewerwindow.cpp
parent7932a77319c629c16f3bc1217dd04167c5687ae4 (diff)
MAINT-3840 FIXED Partially reverted one of previous fix to allow adjusting mouse sensitivity
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rwxr-xr-xindra/newview/llviewerwindow.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index 81978e058c..6ad1bfa50b 100755
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -3267,7 +3267,7 @@ void LLViewerWindow::updateUI()
updateLayout();
- saveLastMouse(mCurrentMousePoint);
+ mLastMousePoint = mCurrentMousePoint;
// cleanup unused selections when no modal dialogs are open
if (LLModalDialog::activeCount() == 0)
@@ -3507,8 +3507,6 @@ void LLViewerWindow::saveLastMouse(const LLCoordGL &point)
// Store last mouse location.
// If mouse leaves window, pretend last point was on edge of window
- mLastMousePoint = mCurrentMousePoint;
-
if (point.mX < 0)
{
mCurrentMousePoint.mX = 0;