summaryrefslogtreecommitdiff
path: root/indra/llinventory
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-06-14 23:04:11 -0500
committerDave Parks <davep@lindenlab.com>2010-06-14 23:04:11 -0500
commit37a8c12bd34b2bd119b50f32d6e081ab59d1f5c4 (patch)
treeccdc7a5952a55dab7417251b248a25f6ca6fd530 /indra/llinventory
parentb3fc9c79f559c84893dede3ce643ac0dfd1f3d65 (diff)
parentad5a45624a702433d481c3dbc0f348a8755b367c (diff)
merge
Diffstat (limited to 'indra/llinventory')
-rw-r--r--indra/llinventory/llinventorytype.cpp32
-rw-r--r--indra/llinventory/llinventorytype.h6
2 files changed, 37 insertions, 1 deletions
diff --git a/indra/llinventory/llinventorytype.cpp b/indra/llinventory/llinventorytype.cpp
index c050f20a9d..82cd22a832 100644
--- a/indra/llinventory/llinventorytype.cpp
+++ b/indra/llinventory/llinventorytype.cpp
@@ -89,6 +89,10 @@ LLInventoryDictionary::LLInventoryDictionary()
addEntry(LLInventoryType::IT_WEARABLE, new InventoryEntry("wearable", "wearable", 2, LLAssetType::AT_CLOTHING, LLAssetType::AT_BODYPART));
addEntry(LLInventoryType::IT_ANIMATION, new InventoryEntry("animation", "animation", 1, LLAssetType::AT_ANIMATION));
addEntry(LLInventoryType::IT_GESTURE, new InventoryEntry("gesture", "gesture", 1, LLAssetType::AT_GESTURE));
+#if LL_MESH_ENABLED
+ addEntry(LLInventoryType::IT_MESH, new InventoryEntry("mesh", "mesh", 1, LLAssetType::AT_MESH));
+#endif
+
}
@@ -123,6 +127,34 @@ DEFAULT_ASSET_FOR_INV_TYPE[LLAssetType::AT_COUNT] =
LLInventoryType::IT_NONE, // AT_LINK
LLInventoryType::IT_NONE, // AT_LINK_FOLDER
+
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+ LLInventoryType::IT_NONE, // AT_NONE
+#if LL_MESH_ENABLED
+ LLInventoryType::IT_MESH // AT_MESH
+#endif
};
// static
diff --git a/indra/llinventory/llinventorytype.h b/indra/llinventory/llinventorytype.h
index 20da954002..d2fc67ef64 100644
--- a/indra/llinventory/llinventorytype.h
+++ b/indra/llinventory/llinventorytype.h
@@ -67,7 +67,11 @@ public:
IT_WEARABLE = 18,
IT_ANIMATION = 19,
IT_GESTURE = 20,
- IT_COUNT = 21,
+
+#if LL_MESH_ENABLED
+ IT_MESH = 22,
+#endif
+ IT_COUNT = 23,
IT_NONE = -1
};