SL-16517 Dragging a physic object #2

mLastMouseX/Y might need to be assigned from gViewerWindow->getCurrentMouseX();
meow-7.2.2
Andrey Kleshchev 2021-12-17 19:12:36 +02:00
parent eb40fcadcc
commit 91940a0e2c
1 changed files with 2 additions and 2 deletions

View File

@ -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)
{