Sync lltoolpie, fix the boogs.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user