summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorymodel.cpp
diff options
context:
space:
mode:
authorNyx Linden <nyx@lindenlab.com>2013-02-28 17:26:14 -0500
committerNyx Linden <nyx@lindenlab.com>2013-02-28 17:26:14 -0500
commit3005bdf7aa628953bf640c1ab69ea7299b5876b1 (patch)
tree3dead4cf3b5d4108a963cfb0fded739bd74422e0 /indra/newview/llinventorymodel.cpp
parentd1c144519306cae7eff7f781417482c85068988c (diff)
parent105c286bf3906a17d4c8560573e81b09fc29086b (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..f0bfc68866 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 0
llvic->setVersion(NO_VERSION);
+#else // SH-3860 WIP
+ 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);
}
}