diff options
author | David Walter Seikel | 2013-07-15 03:59:58 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-07-15 03:59:58 +1000 |
commit | c7f06e9e63a54874696fe89e2ef24c809bef51f3 (patch) | |
tree | 3eb207f344435fbeb82b142000980416d50690cd /linden/indra/newview/lltoolfocus.cpp | |
parent | More Windlight refactoring, including moving the new stuff back to lightshare.c. (diff) | |
parent | Fix Align tool conflicts with Edit Linked Parts - http://redmine.kokuaviewer.... (diff) | |
download | meta-impy-c7f06e9e63a54874696fe89e2ef24c809bef51f3.zip meta-impy-c7f06e9e63a54874696fe89e2ef24c809bef51f3.tar.gz meta-impy-c7f06e9e63a54874696fe89e2ef24c809bef51f3.tar.bz2 meta-impy-c7f06e9e63a54874696fe89e2ef24c809bef51f3.tar.xz |
Merge remote-tracking branch 'origin/next' into WL-refactor
Diffstat (limited to 'linden/indra/newview/lltoolfocus.cpp')
-rw-r--r-- | linden/indra/newview/lltoolfocus.cpp | 10 |
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 | } |