EXT-7239 FIX Double-click on outfit title should wear outfit, Double-click on item should wear item
decision was to remove double click behaviormeow-7.2.2
parent
b143dd3bf6
commit
512cd85e09
|
|
@ -107,26 +107,6 @@ LLPanelWearableOutfitItem* LLPanelWearableOutfitItem::create(LLViewerInventoryIt
|
|||
return list_item;
|
||||
}
|
||||
|
||||
BOOL LLPanelWearableOutfitItem::handleDoubleClick(S32 x, S32 y, MASK mask)
|
||||
{
|
||||
LLViewerInventoryItem* item = getItem();
|
||||
if (item)
|
||||
{
|
||||
LLUUID id = item->getUUID();
|
||||
|
||||
if (get_is_item_worn(id))
|
||||
{
|
||||
LLAppearanceMgr::getInstance()->removeItemFromAvatar(id);
|
||||
}
|
||||
else
|
||||
{
|
||||
LLAppearanceMgr::getInstance()->wearItemOnAvatar(id, true, false);
|
||||
}
|
||||
}
|
||||
|
||||
return LLUICtrl::handleDoubleClick(x, y, mask);
|
||||
}
|
||||
|
||||
LLPanelWearableOutfitItem::LLPanelWearableOutfitItem(LLViewerInventoryItem* item)
|
||||
: LLPanelInventoryListItemBase(item)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue