diff options
author | Jacek Antonelli | 2008-08-15 23:44:54 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:54 -0500 |
commit | b2afb8800bb033a04bb3ecdf0363068d56648ef1 (patch) | |
tree | 3568129b5bbddb47cd39d622b4137a8fbff4abaf /linden/indra/newview/llfloaterclothing.cpp | |
parent | Second Life viewer sources 1.14.0.1 (diff) | |
download | meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.zip meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.gz meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.bz2 meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.xz |
Second Life viewer sources 1.15.0.2
Diffstat (limited to 'linden/indra/newview/llfloaterclothing.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterclothing.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloaterclothing.cpp b/linden/indra/newview/llfloaterclothing.cpp index 627b2c6..8df90bc 100644 --- a/linden/indra/newview/llfloaterclothing.cpp +++ b/linden/indra/newview/llfloaterclothing.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 |
@@ -263,9 +264,15 @@ void LLFloaterClothing::buildClothingList() | |||
263 | LLSD row; | 264 | LLSD row; |
264 | row["id"] = item->getUUID(); | 265 | row["id"] = item->getUUID(); |
265 | 266 | ||
267 | BOOL item_is_multi = FALSE; | ||
268 | if ( item->getFlags() & LLInventoryItem::II_FLAGS_OBJECT_HAS_MULTIPLE_ITEMS ) | ||
269 | { | ||
270 | item_is_multi = TRUE; | ||
271 | } | ||
272 | |||
266 | LLUUID image_id = get_item_icon_uuid(item->getType(), | 273 | LLUUID image_id = get_item_icon_uuid(item->getType(), |
267 | item->getInventoryType(), | 274 | item->getInventoryType(), |
268 | item->getFlags()); // flags = wearable type | 275 | item->getFlags(), item_is_multi); // flags = wearable type |
269 | row["columns"][0]["column"] = "icon"; | 276 | row["columns"][0]["column"] = "icon"; |
270 | row["columns"][0]["type"] = "icon"; | 277 | row["columns"][0]["type"] = "icon"; |
271 | row["columns"][0]["value"] = image_id; | 278 | row["columns"][0]["value"] = image_id; |