FIRE-16511 / BUG-9739: Unable to deactivate gestures from inventory

meow-7.2.2
Ansariel 2015-07-24 11:17:26 +02:00
parent 667bec887e
commit 1bd528463d
1 changed files with 4 additions and 1 deletions

View File

@ -1363,7 +1363,10 @@ void LLInventoryAction::doToSelected(LLInventoryModel* model, LLFolderView* root
{
wear_multiple(ids, false);
}
else if (isRemoveAction(action))
// <FS:Ansariel> FIRE-16511 / BUG-9739: Unable to deactivate gestures from inventory
//else if (isRemoveAction(action))
else if (isRemoveAction(action) && action != "deactivate")
// </FS:Ansariel>
{
LLAppearanceMgr::instance().removeItemsFromAvatar(ids);
}