SL-16564 'Click to' action 'None' doesn't work as intended

There shouldn't be any differences for 'None' between normal objects and attachments
master
Andrey Kleshchev 2021-12-19 14:00:33 +02:00
parent 2dd192ce36
commit 921fe18f8b
1 changed files with 1 additions and 1 deletions

View File

@ -798,7 +798,7 @@ BOOL LLToolPie::handleHover(S32 x, S32 y, MASK mask)
gViewerWindow->setCursor(UI_CURSOR_TOOLGRAB);
LL_DEBUGS("UserInput") << "hover handled by LLToolPie (inactive)" << LL_ENDL;
}
else if ((!object || !object->isAttachment() || object->getClickAction() != CLICK_ACTION_DISABLED)
else if ((!object || object->getClickAction() != CLICK_ACTION_DISABLED)
&& ((object && object->flagHandleTouch()) || (parent && parent->flagHandleTouch()))
&& (!object || !object->isAvatar()))
{