EXT-7758 FIXED Take out "Change FolderType" for viewer2.1.

Change folder type is now keyed off of SUPPORT_ENSEMBLES versus being available in non-release viewers.
meow-7.2.2
Loren Shih 2010-06-15 15:56:54 -04:00
parent 40133be7be
commit f12aa928c5
1 changed files with 2 additions and 2 deletions

View File

@ -2581,9 +2581,9 @@ void LLFolderBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
mItems.push_back(std::string("New Clothes"));
mItems.push_back(std::string("New Body Parts"));
// Changing folder types is just a debug feature; this is fairly unsupported
#if SUPPORT_ENSEMBLES
// Changing folder types is an unfinished unsupported feature
// and can lead to unexpected behavior if enabled.
#if !LL_RELEASE_FOR_DOWNLOAD
mItems.push_back(std::string("Change Type"));
const LLViewerInventoryCategory *cat = getCategory();
if (cat && LLFolderType::lookupIsProtectedType(cat->getPreferredType()))