diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llmaniptranslate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llmaniptranslate.cpp b/linden/indra/newview/llmaniptranslate.cpp index 01fe6f8..aada658 100644 --- a/linden/indra/newview/llmaniptranslate.cpp +++ b/linden/indra/newview/llmaniptranslate.cpp | |||
@@ -533,7 +533,7 @@ BOOL LLManipTranslate::handleHover(S32 x, S32 y, MASK mask) | |||
533 | { | 533 | { |
534 | F32 max_drag_distance = gSavedSettings.getF32("MaxDragDistance"); | 534 | F32 max_drag_distance = gSavedSettings.getF32("MaxDragDistance"); |
535 | 535 | ||
536 | if (relative_move.magVecSquared() > max_drag_distance * max_drag_distance) | 536 | if(max_drag_distance < gHippoLimits->getMaxDragDistance()) max_drag_distance = gHippoLimits->getMaxDragDistance(); //Take the more restrictive if (relative_move.magVecSquared() > max_drag_distance * max_drag_distance) |
537 | { | 537 | { |
538 | lldebugst(LLERR_USER_INPUT) << "hover handled by LLManipTranslate (too far)" << llendl; | 538 | lldebugst(LLERR_USER_INPUT) << "hover handled by LLManipTranslate (too far)" << llendl; |
539 | gViewerWindow->setCursor(UI_CURSOR_NOLOCKED); | 539 | gViewerWindow->setCursor(UI_CURSOR_NOLOCKED); |