aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.txt8
-rw-r--r--linden/indra/llinventory/llinventory.cpp5
-rw-r--r--linden/indra/llinventory/llinventorytype.h5
3 files changed, 17 insertions, 1 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 4997658..2941998 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,11 @@
12009-01-14 Jacek Antonelli <jacek.antonelli@gmail.com>
2
3 * linden/indra/llinventory/llinventorytype.h:
4 Added inventory ntype for folders.
5 * linden/indra/llinventory/llinventory.cpp:
6 Ditto.
7
8
12009-01-11 Jacek Antonelli <jacek.antonelli@gmail.com> 92009-01-11 Jacek Antonelli <jacek.antonelli@gmail.com>
2 10
3 * linden/indra/cmake/GStreamer.cmake: 11 * linden/indra/cmake/GStreamer.cmake:
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