Add some explanatory comment

meow-7.2.2
Ansariel 2020-11-19 13:57:13 +01:00
parent 5660cb2f84
commit ad78534abc
1 changed files with 6 additions and 1 deletions

View File

@ -3844,7 +3844,12 @@ LLFolderType::EType LLFolderBridge::getPreferredType() const
LLViewerInventoryCategory* cat = getCategory();
if(cat)
{
// <FS:Ansariel> Special virtual system folder icons
// <FS:Ansariel> 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;