diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2014-08-21 14:18:35 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2014-08-21 14:18:35 -0400 |
commit | 79bb641310775c56cb742c5ea938d5681117585c (patch) | |
tree | b1c4c9ff820e4fe17f61ccbe80ef1503039d72e3 /indra/newview/llagentwearables.cpp | |
parent | ba95b8badea1fe97546a050d9fa2ccffe3983a1e (diff) |
MAINT-4158 WIP - fix for bug caused by multiple wearables with the same asset id
Diffstat (limited to 'indra/newview/llagentwearables.cpp')
-rwxr-xr-x | indra/newview/llagentwearables.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llagentwearables.cpp b/indra/newview/llagentwearables.cpp index 49fedb8df8..3928bbadc8 100755 --- a/indra/newview/llagentwearables.cpp +++ b/indra/newview/llagentwearables.cpp @@ -1009,6 +1009,10 @@ void LLAgentWearables::setWearableOutfit(const LLInventoryItem::item_array_t& it continue; } + // Don't care about this case - ordering of wearables with the same asset id has no effect. + // Causes the two-alphas error case in MAINT-4158. + // We should actually disallow wearing two wearables with the same asset id. +#if 0 if (curr_wearable->getName() != new_item->getName() || curr_wearable->getItemID() != new_item->getUUID()) { @@ -1019,6 +1023,7 @@ void LLAgentWearables::setWearableOutfit(const LLInventoryItem::item_array_t& it mismatched++; continue; } +#endif // If we got here, everything matches. matched++; } |