summaryrefslogtreecommitdiff
path: root/indra/newview/llwearablelist.h
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-03-17 17:55:12 -0400
committerLoren Shih <seraph@lindenlab.com>2010-03-17 17:55:12 -0400
commit896b88063ed0e08362c9e277e7ef8aba5afef0db (patch)
treedd876340dfc0d453b4e3fcd53ebbfa609d37473c /indra/newview/llwearablelist.h
parent6e761bb5f2fac9155b03b74008cfca141968ae6c (diff)
EXT-6252 : "Duplicate items (not links) in inventory are both displayed in bold as (worn) when only one is actually worn"
Simple special-case fix for this specific issue, although I added a comment to llwearablelist.h that eventually the whole LLWearableList class will need some redesign. Core issue is that you can have multiple itemIDs pointing to the same assetID and LLWearableList doesn't account for this possibility during lookup-wearable-by-assetID operations.
Diffstat (limited to 'indra/newview/llwearablelist.h')
-rw-r--r--indra/newview/llwearablelist.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llwearablelist.h b/indra/newview/llwearablelist.h
index cf1a9bddff..5e564ba953 100644
--- a/indra/newview/llwearablelist.h
+++ b/indra/newview/llwearablelist.h
@@ -39,6 +39,12 @@
#include "llassetstorage.h"
// Globally constructed; be careful that there's no dependency with gAgent.
+/*
+ BUG: mList's system of mapping between assetIDs and wearables is flawed
+ since LLWearable* has an associated itemID, and you can have multiple
+ inventory items pointing to the same asset (i.e. more than one ItemID
+ per assetID). EXT-6252
+*/
class LLWearableList : public LLSingleton<LLWearableList>
{
public: