From 269903ff75bbeb993593fc06bb6ca860da80fa9c Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Sat, 15 Aug 2015 00:48:04 -0400 Subject: [PATCH] Sync lltoolpie, fix the boogs. --- indra/newview/lltoolpie.cpp | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/indra/newview/lltoolpie.cpp b/indra/newview/lltoolpie.cpp index c854760bf..6cadc133f 100644 --- a/indra/newview/lltoolpie.cpp +++ b/indra/newview/lltoolpie.cpp @@ -717,26 +717,7 @@ BOOL LLToolPie::handleMouseUp(S32 x, S32 y, MASK mask) return TRUE; } - else - { - switch(click_action) - { - case CLICK_ACTION_BUY: - case CLICK_ACTION_PAY: - case CLICK_ACTION_OPEN: - // Because these actions open UI dialogs, we won't change - // the cursor again until the next hover and GL pick over - // the world. Keep the cursor an arrow, assuming that - // after the user moves off the UI, they won't be on the - // same object anymore. - gViewerWindow->setCursor(UI_CURSOR_ARROW); - // Make sure the hover-picked object is ignored. - gHoverView->resetLastHoverObject(); - break; - default: - break; - } - } + gViewerWindow->setCursor(UI_CURSOR_ARROW); if (hasMouseCapture()) { setMouseCapture(FALSE);