summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-12-17 19:12:36 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-12-18 03:59:31 +0200
commit91940a0e2ce7324288aa38aefd4e5050de3a9263 (patch)
tree94d98b2f2ed4da3b7a1a124cb1ca244fb65dcb97 /indra/newview
parenteb40fcadccb9e47618f1ff071a33cbf11d1cd9e4 (diff)
SL-16517 Dragging a physic object #2
mLastMouseX/Y might need to be assigned from gViewerWindow->getCurrentMouseX();
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/lltoolgrab.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/lltoolgrab.cpp b/indra/newview/lltoolgrab.cpp
index a0229b4edf..6216899dc6 100644
--- a/indra/newview/lltoolgrab.cpp
+++ b/indra/newview/lltoolgrab.cpp
@@ -529,8 +529,8 @@ void LLToolGrabBase::handleHoverActive(S32 x, S32 y, MASK mask)
const F32 RADIANS_PER_PIXEL_X = 0.01f;
const F32 RADIANS_PER_PIXEL_Y = 0.01f;
- S32 dx = gViewerWindow->getCurrentMouseDX() / 2;
- S32 dy = gViewerWindow->getCurrentMouseDY() / 2;
+ S32 dx = gViewerWindow->getCurrentMouseDX();
+ S32 dy = gViewerWindow->getCurrentMouseDY();
if (dx != 0 || dy != 0)
{