diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2013-02-25 19:12:36 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2013-02-25 19:12:36 -0500 |
commit | b16dcda6a387774a446c04f63e1a55bd35ec7afe (patch) | |
tree | 34eb08ecb28fddba4d1aa63ca5016ebad0d6b08c /indra/newview/llinventorymodel.cpp | |
parent | b6f814af25a957e71dc8d9dd314ac15e3cbe6cd9 (diff) |
SH-3860 WIP, SH-3899 WIP - make folder version management more debuggable, log appearance request results
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); } } |