diff options
author | Nyx Linden <nyx@lindenlab.com> | 2013-02-28 17:26:14 -0500 |
---|---|---|
committer | Nyx Linden <nyx@lindenlab.com> | 2013-02-28 17:26:14 -0500 |
commit | 3005bdf7aa628953bf640c1ab69ea7299b5876b1 (patch) | |
tree | 3dead4cf3b5d4108a963cfb0fded739bd74422e0 /indra/newview/llstartup.cpp | |
parent | d1c144519306cae7eff7f781417482c85068988c (diff) | |
parent | 105c286bf3906a17d4c8560573e81b09fc29086b (diff) |
merge
Diffstat (limited to 'indra/newview/llstartup.cpp')
-rw-r--r-- | indra/newview/llstartup.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index 9d0df5e83e..717f578ddb 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -2572,12 +2572,21 @@ void LLStartUp::loadInitialOutfit( const std::string& outfit_folder_name, } else { + // FIXME SH-3860 - this creates a race condition, where COF + // changes (base outfit link added) after appearance update + // request has been submitted. sWearablesLoadedCon = gAgentWearables.addLoadedCallback(LLStartUp::saveInitialOutfit); bool do_copy = true; bool do_append = false; LLViewerInventoryCategory *cat = gInventory.getCategory(cat_id); +#if 0 // SH-3860 WIP + // Need to fetch cof contents before we can wear. + callAfterCategoryFetch(LLAppearanceMgr::instance().getCOF(), + boost::bind(&LLAppearanceMgr::wearInventoryCategory, LLAppearanceMgr::getInstance(), cat, do_copy, do_append)); +#else LLAppearanceMgr::instance().wearInventoryCategory(cat, do_copy, do_append); +#endif lldebugs << "initial outfit category id: " << cat_id << llendl; } |