aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llinventory
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-01-18 14:58:20 -0700
committerMcCabe Maxsted2009-01-18 14:58:20 -0700
commit14676d1d5d042b1b9e4da8aefbba2eaf311e0b9d (patch)
tree7df321866ff9ccc352918e925bf37ab4a4bc8c06 /linden/indra/llinventory
parentRemoved/moved unnecessary options (diff)
parentMerge branch 'filter-fixes' into next (diff)
downloadmeta-impy-14676d1d5d042b1b9e4da8aefbba2eaf311e0b9d.zip
meta-impy-14676d1d5d042b1b9e4da8aefbba2eaf311e0b9d.tar.gz
meta-impy-14676d1d5d042b1b9e4da8aefbba2eaf311e0b9d.tar.bz2
meta-impy-14676d1d5d042b1b9e4da8aefbba2eaf311e0b9d.tar.xz
merged in jacek's fixes for inv icons
Diffstat (limited to 'linden/indra/llinventory')
-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 e492889..4507d94 100644
--- a/linden/indra/llinventory/llinventory.cpp
+++ b/linden/indra/llinventory/llinventory.cpp
@@ -176,6 +176,11 @@ LLInventoryType::NType calc_ntype(
176 case LLInventoryType::IT_ATTACHMENT: 176 case LLInventoryType::IT_ATTACHMENT:
177 return LLInventoryType::NIT_OBJECT; 177 return LLInventoryType::NIT_OBJECT;
178 178
179 // FOLDERS
180 case LLInventoryType::IT_CATEGORY:
181 case LLInventoryType::IT_ROOT_CATEGORY:
182 return LLInventoryType::NIT_FOLDER;
183
179 // UNKNOWN TYPE! 184 // UNKNOWN TYPE!
180 default: 185 default:
181 return LLInventoryType::NIT_NONE; 186 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