aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltoolfocus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/lltoolfocus.cpp')
-rw-r--r--linden/indra/newview/lltoolfocus.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/linden/indra/newview/lltoolfocus.cpp b/linden/indra/newview/lltoolfocus.cpp
index ae0cd1e..c0dedb6 100644
--- a/linden/indra/newview/lltoolfocus.cpp
+++ b/linden/indra/newview/lltoolfocus.cpp
@@ -318,8 +318,6 @@ BOOL LLToolCamera::handleHover(S32 x, S32 y, MASK mask)
318 S32 dx = gViewerWindow->getCurrentMouseDX(); 318 S32 dx = gViewerWindow->getCurrentMouseDX();
319 S32 dy = gViewerWindow->getCurrentMouseDY(); 319 S32 dy = gViewerWindow->getCurrentMouseDY();
320 320
321 BOOL moved_outside_slop = FALSE;
322
323 if (hasMouseCapture() && mValidClickPoint) 321 if (hasMouseCapture() && mValidClickPoint)
324 { 322 {
325 mAccumX += llabs(dx); 323 mAccumX += llabs(dx);
@@ -327,19 +325,11 @@ BOOL LLToolCamera::handleHover(S32 x, S32 y, MASK mask)
327 325
328 if (mAccumX >= SLOP_RANGE) 326 if (mAccumX >= SLOP_RANGE)
329 { 327 {
330 if (!mOutsideSlopX)
331 {
332 moved_outside_slop = TRUE;
333 }
334 mOutsideSlopX = TRUE; 328 mOutsideSlopX = TRUE;
335 } 329 }
336 330
337 if (mAccumY >= SLOP_RANGE) 331 if (mAccumY >= SLOP_RANGE)
338 { 332 {
339 if (!mOutsideSlopY)
340 {
341 moved_outside_slop = TRUE;
342 }
343 mOutsideSlopY = TRUE; 333 mOutsideSlopY = TRUE;
344 } 334 }
345 } 335 }