summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorpaulgproductengine <none@none>2012-02-09 23:42:07 +0200
committerpaulgproductengine <none@none>2012-02-09 23:42:07 +0200
commitb3e56527a751aa2b87f50b33cf3439c07704c1d5 (patch)
treefc0d05afba1c660017024a61abcf4f63e2e9172b /indra
parentca80e17e90ce5b70feca76ddf41d3c25d01ac830 (diff)
EXP-1546 FIXED (received items - purchasing some bodyparts and clothing from a prim marked for sale show wrong inventory icons)
- In buy floater, for multiple WEARABLES inventory items show corresponding wearable icon
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloaterbuy.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloaterbuy.cpp b/indra/newview/llfloaterbuy.cpp
index ee8487b160..087b0007e1 100644
--- a/indra/newview/llfloaterbuy.cpp
+++ b/indra/newview/llfloaterbuy.cpp
@@ -239,8 +239,9 @@ void LLFloaterBuy::inventoryChanged(LLViewerObject* obj,
// Compute icon for this item
BOOL item_is_multi = FALSE;
- if ( inv_item->getFlags() & LLInventoryItemFlags::II_FLAGS_LANDMARK_VISITED
+ if (( inv_item->getFlags() & LLInventoryItemFlags::II_FLAGS_LANDMARK_VISITED
|| inv_item->getFlags() & LLInventoryItemFlags::II_FLAGS_OBJECT_HAS_MULTIPLE_ITEMS)
+ && !(inv_item->getFlags() & LLInventoryItemFlags::II_FLAGS_WEARABLES_MASK))
{
item_is_multi = TRUE;
}