aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/llinventory/llinventory.cpp5
-rw-r--r--linden/indra/llinventory/llinventorytype.h5
2 files changed, 9 insertions, 1 deletions
diff --git a/linden/indra/llinventory/llinventory.cpp b/linden/indra/llinventory/llinventory.cpp
index 0a8a1fb..4b2e810 100644
--- a/linden/indra/llinventory/llinventory.cpp
+++ b/linden/indra/llinventory/llinventory.cpp
@@ -173,6 +173,11 @@ LLInventoryType::NType calc_ntype(
173 case LLInventoryType::IT_ATTACHMENT: 173 case LLInventoryType::IT_ATTACHMENT:
174 return LLInventoryType::NIT_OBJECT; 174 return LLInventoryType::NIT_OBJECT;
175 175
176 // FOLDERS
177 case LLInventoryType::IT_CATEGORY:
178 case LLInventoryType::IT_ROOT_CATEGORY:
179 return LLInventoryType::NIT_FOLDER;
180
176 // UNKNOWN TYPE! 181 // UNKNOWN TYPE!
177 default: 182 default:
178 return LLInventoryType::NIT_NONE; 183 return LLInventoryType::NIT_NONE;
diff --git a/linden/indra/llinventory/llinventorytype.h b/linden/indra/llinventory/llinventorytype.h
index f228cd0..c81733e 100644
--- a/linden/indra/llinventory/llinventorytype.h
+++ b/linden/indra/llinventory/llinventorytype.h
@@ -152,8 +152,11 @@ public:
152 /* Objects */ 152 /* Objects */
153 NIT_OBJECT = 1 << 24, 153 NIT_OBJECT = 1 << 24,
154 154
155 /* Folders ("Categories" in the old type system) */
156 NIT_FOLDER = 1 << 25,
157
155 /* Bitwise OR-ing of all the above */ 158 /* Bitwise OR-ing of all the above */
156 NIT_ALL = 0x1ffffff, 159 NIT_ALL = 0x3ffffff,
157 }; 160 };
158 161
159 162