diff options
Diffstat (limited to 'linden/indra/newview/llfloaterbuycontents.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterbuycontents.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloaterbuycontents.cpp b/linden/indra/newview/llfloaterbuycontents.cpp index 1deb1ab..5e8d921 100644 --- a/linden/indra/newview/llfloaterbuycontents.cpp +++ b/linden/indra/newview/llfloaterbuycontents.cpp | |||
@@ -5,6 +5,7 @@ | |||
5 | * | 5 | * |
6 | * Copyright (c) 2004-2007, Linden Research, Inc. | 6 | * Copyright (c) 2004-2007, Linden Research, Inc. |
7 | * | 7 | * |
8 | * Second Life Viewer Source Code | ||
8 | * The source code in this file ("Source Code") is provided by Linden Lab | 9 | * The source code in this file ("Source Code") is provided by Linden Lab |
9 | * to you under the terms of the GNU General Public License, version 2.0 | 10 | * to you under the terms of the GNU General Public License, version 2.0 |
10 | * ("GPL"), unless you have obtained a separate licensing agreement | 11 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -214,9 +215,17 @@ void LLFloaterBuyContents::inventoryChanged(LLViewerObject* obj, | |||
214 | 215 | ||
215 | // Create the line in the list | 216 | // Create the line in the list |
216 | LLSD row; | 217 | LLSD row; |
218 | |||
219 | BOOL item_is_multi = FALSE; | ||
220 | if ( inv_item->getFlags() & LLInventoryItem::II_FLAGS_LANDMARK_VISITED ) | ||
221 | { | ||
222 | item_is_multi = TRUE; | ||
223 | } | ||
224 | |||
217 | LLUUID icon_id = get_item_icon_uuid(inv_item->getType(), | 225 | LLUUID icon_id = get_item_icon_uuid(inv_item->getType(), |
218 | inv_item->getInventoryType(), | 226 | inv_item->getInventoryType(), |
219 | inv_item->getFlags()); | 227 | inv_item->getFlags(), |
228 | item_is_multi); | ||
220 | row["columns"][0]["column"] = "icon"; | 229 | row["columns"][0]["column"] = "icon"; |
221 | row["columns"][0]["type"] = "icon"; | 230 | row["columns"][0]["type"] = "icon"; |
222 | row["columns"][0]["value"] = icon_id; | 231 | row["columns"][0]["value"] = icon_id; |