void LLMakeOutfitDialog::makeOutfit(const std::string folder_name)
{
	LLInventoryModel::item_array_t item_list;
	getIncludedItems(item_list);

	// MULTI-WEARABLES TODO
	if (getUseOutfits())
		LLAppearanceMgr::instance().makeNewOutfitLinks(folder_name, item_list);
	else
		LLAppearanceMgr::instance().makeNewOutfitLegacy(folder_name, item_list, getUseLinks());
}
void LLMakeOutfitDialog::makeOutfit(const std::string folder_name)
{
	LLInventoryModel::item_array_t item_list;
	getIncludedItems(item_list);

	// MULTI-WEARABLES TODO
	if (getUseOutfits())
		LLAppearanceMgr::instance().makeNewOutfitLinks(folder_name, item_list);
	else
		LLAppearanceMgr::instance().makeNewOutfitLegacy(folder_name, item_list, getUseLinks());

	if ( gAgent.getRegion() && gAgent.getRegion()->getCentralBakeVersion())
	{
		LLAppearanceMgr::instance().requestServerAppearanceUpdate();
	}
}