summaryrefslogtreecommitdiff
path: root/indra/newview/llagentwearables.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-04-06 17:30:23 -0400
committerLoren Shih <seraph@lindenlab.com>2010-04-06 17:30:23 -0400
commitc3d9316dff568d5265d856a708e3909deae09f18 (patch)
treec05e3fb3229f15b71b83483a52f52f00156ecbd3 /indra/newview/llagentwearables.cpp
parentcdbdb1168694bcbfc58208f2941f513b556a0d6e (diff)
EXT-6727 : Allow LLInventoryObservers to target a single item (instead of a vector of items)
Added new constructors to LLInventoryFetch types to allow passing in a single item.
Diffstat (limited to 'indra/newview/llagentwearables.cpp')
-rw-r--r--indra/newview/llagentwearables.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/indra/newview/llagentwearables.cpp b/indra/newview/llagentwearables.cpp
index bc8931827e..aedea5660f 100644
--- a/indra/newview/llagentwearables.cpp
+++ b/indra/newview/llagentwearables.cpp
@@ -905,9 +905,7 @@ void LLAgentWearables::processAgentInitialWearablesUpdate(LLMessageSystem* mesgs
// Get the UUID of the current outfit folder (will be created if it doesn't exist)
const LLUUID current_outfit_id = gInventory.findCategoryUUIDForType(LLFolderType::FT_CURRENT_OUTFIT);
- uuid_vec_t folders;
- folders.push_back(current_outfit_id);
- LLInitialWearablesFetch* outfit = new LLInitialWearablesFetch(folders);
+ LLInitialWearablesFetch* outfit = new LLInitialWearablesFetch(current_outfit_id);
//lldebugs << "processAgentInitialWearablesUpdate()" << llendl;
// Add wearables
@@ -2061,9 +2059,7 @@ void LLAgentWearables::populateMyOutfitsFolder(void)
llinfos << "starting outfit population" << llendl;
const LLUUID& my_outfits_id = gInventory.findCategoryUUIDForType(LLFolderType::FT_MY_OUTFITS);
- uuid_vec_t folders;
- folders.push_back(my_outfits_id);
- LLLibraryOutfitsFetch* outfits = new LLLibraryOutfitsFetch(folders);
+ LLLibraryOutfitsFetch* outfits = new LLLibraryOutfitsFetch(my_outfits_id);
outfits->mMyOutfitsID = my_outfits_id;
// Get the complete information on the items in the inventory and