summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer <palmer@lindenlab.com>2009-11-12 14:05:30 -0800
committerPalmer <palmer@lindenlab.com>2009-11-12 14:05:30 -0800
commita1f6391d7d63b8eef540c29eebc2786eec8c755f (patch)
tree146eb66419f8b28dcb810f044077306d7c9cb5ff
parent596d3cfb6018789e3ffca5bf3ae9fa4e1e8a707a (diff)
parentbb72788392ea6d25adb045abd555419cd60c4888 (diff)
Automated merge with ssh://palmer@hg.lindenlab.com/viewer/render-pipeline/
-rw-r--r--.hgignore1
-rw-r--r--indra/llinventory/llinventorytype.cpp28
-rw-r--r--indra/newview/llinventoryfunctions.cpp3
3 files changed, 31 insertions, 1 deletions
diff --git a/.hgignore b/.hgignore
index 4d98acf5d9..1d4890810f 100644
--- a/.hgignore
+++ b/.hgignore
@@ -9,6 +9,7 @@ syntax: glob
.*.swp
#OSX image cache file
*.DS_Store
+*.orig
LICENSES
indra/.distcc
indra/build-darwin-*
diff --git a/indra/llinventory/llinventorytype.cpp b/indra/llinventory/llinventorytype.cpp
index 2460a2777a..caf8e11929 100644
--- a/indra/llinventory/llinventorytype.cpp
+++ b/indra/llinventory/llinventorytype.cpp
@@ -125,7 +125,33 @@ DEFAULT_ASSET_FOR_INV_TYPE[LLAssetType::AT_COUNT] =
LLInventoryType::IT_NONE, // AT_LINK
LLInventoryType::IT_NONE, // AT_LINK_FOLDER
- LLInventoryType::IT_MESH, // AT_MESH
+
+ 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
+
+ LLInventoryType::IT_MESH // AT_MESH
};
// static
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp
index 75218e98e0..01c7f0974d 100644
--- a/indra/newview/llinventoryfunctions.cpp
+++ b/indra/newview/llinventoryfunctions.cpp
@@ -323,6 +323,9 @@ const std::string& get_item_icon_name(LLAssetType::EType asset_type,
case LLAssetType::AT_LINK_FOLDER:
idx = LINKFOLDER_ICON_NAME;
break;
+ case LLAssetType::AT_MESH:
+ idx = MESH_ICON_NAME;
+ break;
default:
break;
}