diff options
| author | prep <prep@lindenlab.com> | 2013-02-28 11:13:38 -0500 |
|---|---|---|
| committer | prep <prep@lindenlab.com> | 2013-02-28 11:13:38 -0500 |
| commit | 852ccab7a3fd322044a3918b8df4dfc0f6784576 (patch) | |
| tree | 61a2e625c0c28282875994597152bef67e6faa4f /indra/newview/llinventorymodel.cpp | |
| parent | 03b51b779fd545e63b6f2fa2ef5ba28f21f1ae62 (diff) | |
| parent | 83eda3f1524a08fa6fc4fbd836c92ae95e8100bc (diff) | |
merge
Diffstat (limited to 'indra/newview/llinventorymodel.cpp')
| -rwxr-xr-x | indra/newview/llinventorymodel.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp index ac1f40b486..171a2cd043 100755 --- a/indra/newview/llinventorymodel.cpp +++ b/indra/newview/llinventorymodel.cpp @@ -1922,7 +1922,18 @@ bool LLInventoryModel::loadSkeleton( for(cat_set_t::iterator it = temp_cats.begin(); it != temp_cats.end(); ++it) { LLViewerInventoryCategory *llvic = (*it); +#if 1 llvic->setVersion(NO_VERSION); +#else + if (llvic->getPreferredType()==LLFolderType::FT_CURRENT_OUTFIT && llvic->getVersion()==1) + { + llinfos << "preserving empty COF for first-time login" << llendl; + } + else + { + llvic->setVersion(NO_VERSION); + } +#endif addCategory(*it); } } |
