diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2019-03-04 16:39:53 +0200 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2019-03-04 16:39:53 +0200 |
commit | b597edd890cee80329ebee9d2749ae4e1159216f (patch) | |
tree | 38f55b31cb724d92a0664838b19714e3e1c9f6d1 /indra/newview | |
parent | 9bcd60d0850591aad24c622b18a3ec1403c6b905 (diff) |
SL-10652 FIXED Crash in LLFolderViewGroupedItemBridge::canWearSelected
Diffstat (limited to 'indra/newview')
-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 00b7732ee9..938adf8a2a 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -7358,8 +7358,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; } |