Sync lltoolpie, fix the boogs.

This commit is contained in:
Inusaito Sayori
2015-08-15 00:48:04 -04:00
parent 1ff4094467
commit 269903ff75

View File

@@ -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);