From ad78534abccdf989b3d7371f9b38d9e95d13fa85 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Thu, 19 Nov 2020 13:57:13 +0100 Subject: [PATCH] Add some explanatory comment --- indra/newview/llinventorybridge.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 6a920eabda..91f9c85dbb 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -3844,7 +3844,12 @@ LLFolderType::EType LLFolderBridge::getPreferredType() const LLViewerInventoryCategory* cat = getCategory(); if(cat) { - // Special virtual system folder icons + // Special virtual system folder icons; Since these folders can be user-created + // and not protected, we will assign the folder type here instead of in + // LLFolderDictionary. By latter and not declaring them as protected so the user + // could delete them if they desire, they would not show up within the list of + // protected folders in inventory, by underneath them among the other normal + // folders, which is not desired. //preferred_type = cat->getPreferredType(); std::string catName(cat->getName()); if (catName == ROOT_FIRESTORM_FOLDER) preferred_type = LLFolderType::FT_FIRESTORM;