From e733d5c0a96694d7d6879185f88bcc9b0613f39a Mon Sep 17 00:00:00 2001
From: Richard Linden <none@none>
Date: Mon, 27 Jun 2011 18:29:51 -0700
Subject: [PATCH] preemptively adding folder type for basic inventory so we can
 update sim code to match

---
 indra/llcommon/llfoldertype.cpp      | 2 ++
 indra/llcommon/llfoldertype.h        | 4 +++-
 indra/newview/llviewerfoldertype.cpp | 1 +
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/indra/llcommon/llfoldertype.cpp b/indra/llcommon/llfoldertype.cpp
index c2cfb7286e2..54096e3294a 100644
--- a/indra/llcommon/llfoldertype.cpp
+++ b/indra/llcommon/llfoldertype.cpp
@@ -93,6 +93,8 @@ LLFolderDictionary::LLFolderDictionary()
 	addEntry(LLFolderType::FT_MESH, 				new FolderEntry("mesh",	TRUE));
 
 	addEntry(LLFolderType::FT_INBOX, 				new FolderEntry("inbox",	TRUE));
+
+	addEntry(LLFolderType::FT_BASIC_ROOT,			new FolderEntry("basic_root", TRUE));
 		 
 	addEntry(LLFolderType::FT_NONE, 				new FolderEntry("-1",		FALSE));
 };
diff --git a/indra/llcommon/llfoldertype.h b/indra/llcommon/llfoldertype.h
index cb32cb075b5..1fa45d7a503 100644
--- a/indra/llcommon/llfoldertype.h
+++ b/indra/llcommon/llfoldertype.h
@@ -84,7 +84,9 @@ class LL_COMMON_API LLFolderType
 
 		FT_INBOX = 50,
 
-		FT_COUNT = 51,
+		FT_BASIC_ROOT = 51,
+
+		FT_COUNT = 52,
 
 		FT_NONE = -1
 	};
diff --git a/indra/newview/llviewerfoldertype.cpp b/indra/newview/llviewerfoldertype.cpp
index 42f780a8a3a..cb8e5b61eca 100644
--- a/indra/newview/llviewerfoldertype.cpp
+++ b/indra/newview/llviewerfoldertype.cpp
@@ -130,6 +130,7 @@ LLViewerFolderDictionary::LLViewerFolderDictionary()
 	
 
 	addEntry(LLFolderType::FT_INBOX, 				new ViewerFolderEntry("Inbox",					"Inv_SysOpen",			"Inv_SysClosed",		FALSE));
+	addEntry(LLFolderType::FT_BASIC_ROOT, 			new ViewerFolderEntry("Basic Root",				"Inv_SysOpen",			"Inv_SysClosed",		FALSE));
 		 
 	addEntry(LLFolderType::FT_NONE, 				new ViewerFolderEntry("New Folder",				"Inv_FolderOpen",		"Inv_FolderClosed",		FALSE, "default"));
 
-- 
GitLab