summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorymodel.cpp
diff options
context:
space:
mode:
authorprep <prep@lindenlab.com>2013-02-28 11:13:38 -0500
committerprep <prep@lindenlab.com>2013-02-28 11:13:38 -0500
commit852ccab7a3fd322044a3918b8df4dfc0f6784576 (patch)
tree61a2e625c0c28282875994597152bef67e6faa4f /indra/newview/llinventorymodel.cpp
parent03b51b779fd545e63b6f2fa2ef5ba28f21f1ae62 (diff)
parent83eda3f1524a08fa6fc4fbd836c92ae95e8100bc (diff)
merge
Diffstat (limited to 'indra/newview/llinventorymodel.cpp')
-rwxr-xr-xindra/newview/llinventorymodel.cpp11
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);
}
}