summaryrefslogtreecommitdiff
path: root/indra/newview/llpaneloutfitsinventory.cpp
diff options
context:
space:
mode:
authorEli Linden <eli@lindenlab.com>2010-05-07 13:29:47 -0700
committerEli Linden <eli@lindenlab.com>2010-05-07 13:29:47 -0700
commitea61d9e403e7bcfcddfe4b7f6319c10c66782f40 (patch)
tree15ba41e810e68c7a5f4379ddf14e8901d6489fdd /indra/newview/llpaneloutfitsinventory.cpp
parent2acb8ec669bee189ab3db486e7a3b8b356937e90 (diff)
parent0f7d414367f8ab29576ee4e4363e9f618a8badc9 (diff)
Merge
Diffstat (limited to 'indra/newview/llpaneloutfitsinventory.cpp')
-rw-r--r--indra/newview/llpaneloutfitsinventory.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llpaneloutfitsinventory.cpp b/indra/newview/llpaneloutfitsinventory.cpp
index e36e63521e..111894b31c 100644
--- a/indra/newview/llpaneloutfitsinventory.cpp
+++ b/indra/newview/llpaneloutfitsinventory.cpp
@@ -91,6 +91,15 @@ BOOL LLPanelOutfitsInventory::postBuild()
initTabPanels();
initListCommandsHandlers();
+ // Fetch your outfits folder so that the links are in memory.
+ // ( This is only necessary if we want to show a warning if a user deletes an item that has a
+ // a link in an outfit, see "ConfirmItemDeleteHasLinks". )
+ const LLUUID &outfits_cat = gInventory.findCategoryUUIDForType(LLFolderType::FT_OUTFIT, false);
+ if (outfits_cat.notNull())
+ {
+ LLInventoryModelBackgroundFetch::instance().start(outfits_cat);
+ }
+
return TRUE;
}