diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2020-06-15 16:07:05 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2020-06-15 16:07:05 +0300 |
commit | b95d780b2ec38078100a96ed3b5760c29598a0db (patch) | |
tree | 1f4614c2c4653fc3e56c8975e480f4dda971c176 | |
parent | 905005be3c7e15429d8380c99d7590e677482286 (diff) |
SL-13457 FIXED Crash in LLFolderViewGroupedItemBridge::canWearSelected
-rw-r--r-- | indra/newview/llinventorybridge.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 657c65c68d..b1de884f06 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -7655,8 +7655,7 @@ bool LLFolderViewGroupedItemBridge::canWearSelected(uuid_vec_t item_ids) for (uuid_vec_t::const_iterator it = item_ids.begin(); it != item_ids.end(); ++it) { LLViewerInventoryItem* item = gInventory.getItem(*it); - LLAssetType::EType asset_type = item->getType(); - if (!item || (asset_type >= LLAssetType::AT_COUNT) || (asset_type <= LLAssetType::AT_NONE)) + if (!item || (item->getType() >= LLAssetType::AT_COUNT) || (item->getType() <= LLAssetType::AT_NONE)) { return false; } |