SL-16517 Dragging a physic object #2
mLastMouseX/Y might need to be assigned from gViewerWindow->getCurrentMouseX();meow-7.2.2
parent
eb40fcadcc
commit
91940a0e2c
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue